Page MenuHomePhabricator

[5.0.0(542)] As a user, I should see the error view and error banner when tapping a link while offline
Closed, ResolvedPublic

Description

Steps to repro

  1. Save a page (also try w/ a recent page that isn't saved)
  2. Enable airplane mode
  3. Go back to page while offline
  4. Tap a link

Expected results

Error banner slides down from top of screen saying I'm offline, and the article view is in its "error state."

Actual results

Blank screen, no message

Event Timeline

BGerstle-WMF raised the priority of this task from to Needs Triage.
BGerstle-WMF updated the task description. (Show Details)
BGerstle-WMF subscribed.
BGerstle-WMF set Security to None.

verified fixed in latest on master

Checked with 5.0.0.551 on iPad mini iOS 8.2

IMG_0467.PNG (2×1 px, 73 KB)

vs 4.1.7(171)

IMG_0468.PNG (640×480 px, 240 KB)

NOTE: - 'Save' icon is clickable, so it's possible to save articles that are not displayed. After saving articles in offline mode, they can be read in online mode without any issues. 'Save' works perfectly. Might be a feature? - In 4.1.7(171) a user does not even get a blank page with a warning banner. Clicking on a link, the banner is displayed -and no other actions are happening.
JMinor subscribed.

I don't think allowing save while offline was intentional, but if it works, then lets leave as is.