Page MenuHomePhabricator

Article view has frozen progress bar when network request fails (e.g. page not found)
Closed, ResolvedPublic

Description

Repro steps

Go to an article which fails to load (e.g. doesn't exist)

Expected results

Article view is in error state, and progress completes when request fails.

Actual results

Article view is in error state, but progress bar is frozen at 80% (because web view never renders)

Screen Shot 2016-02-17 at 4.18.02 PM.png (1×750 px, 39 KB)

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.

How does one get to a nonexistent article to test this out? If I just type in a nonsense search item, no results found or "did you mean..." is the result.

Easiest thing to check here is to turn off network connection, then tap on an article you've never read before. You should see the "Sorry could not load" background and the progress bar should not get "stuck".

turn off network connection

@JMinor unfortunately that won't trigger this as we special-case that error. @Nicholas.tsg the best way I've found is to either:

  • Set Wikipedia language/project to Test (test.wikipedia.org)
  • Create a page w/ a link to another page which doesn't exist
  • Search for the page you created
  • Tap on the link

The way I actually stumbled on this error was to change my Wikipedia project to French, view the top french articles for that day, and tap on "Sp?ecial:Search" (which doesn't exist).

Testing on iOS 9 iPad using the latest build (760) I got a link that failed to load. The page looks different from the screencap in the original description, so I assume it is fixed now. See attached:

IMG_0049.PNG (2×1 px, 360 KB)