Page MenuHomePhabricator

Android PhoneGap app throws error and exits if opened when offline
Closed, ResolvedPublic

Description

Steps to repro:

  • go into 'airplane mode'
  • open Wikipedia

What happens;

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

Version: 1.0.0 (Android)
Severity: normal

Details

Reference
bz32239
TitleReferenceAuthorSource BranchDest Branch
Don't process events with large content body.repos/data-engineering/mediawiki-event-enrichment!69gmodenafilter-large-recordsmain
get-code command bail early if nothing to dorepos/releng/cli!434addshoreget-code-bail-earlymain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:03 AM
bzimport set Reference to bz32239.

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.

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?