Last modified: 2012-02-24 02:52:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34239, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32239 - Android PhoneGap app throws error and exits if opened when offline
Android PhoneGap app throws error and exits if opened when offline
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
1.0.0 (Android)
All All
: High normal
: ---
Assigned To: Yuvi Panda
:
Depends on:
Blocks: 31447
  Show dependency treegraph
 
Reported: 2011-11-07 19:25 UTC by Brion Vibber
Modified: 2012-02-24 02:52 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: Android
Assignee Huggle Beta Tester: ---


Attachments

Description Brion Vibber 2011-11-07 19:25:24 UTC
Steps to repro:
* go into 'airplane mode'
* open Wikipedia

What happens;
* see an error popup like "Application Error: The connection to the server was unsuccessful. (http://en.m.wikipedia.org/wiki/United_States_House_of_Representatives)"
* click "OK" to close alert
* app exits

Expected:
* if last-seen page can't be loaded, show an error message inline
* don't close the app -- let me retry at my leisure or browse my bookmarks
Comment 1 Brion Vibber 2011-11-07 19:27:49 UTC
This also happens while browsing -- if I already had an article open, then go into airplane mode, then navigate to a new page, I see the same error followed by the app exiting.

Then I'm stuck in the restart loop because it keeps trying to load the same unloadable page on restart.
Comment 2 Brion Vibber 2011-12-12 19:55:00 UTC
Doesn't appear to die this way any more as of RC1.

However, if started for the first time while offline, it's not able to load the main page and shows an ugly 'web page not available' screen. Acceptable or no?
Comment 3 Brion Vibber 2011-12-12 19:58:10 UTC
Broke that out to bug 32999

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links