Page MenuHomePhabricator

Wrong message displayed when trying to search while offline
Closed, ResolvedPublic1 Estimated Story Points

Description

While trying to search when the device is offline using the search icon displayed while reading an article, a wrong error message is displayed.

Steps to reproduce

  1. Enable flight mode
  2. Open the Main Page (probably by opening a new tab)
  3. Tap the search icon
  4. Type something

Expected results
"Cannot connect to internet" message is displayed.

Actual results
"Article cannot be loaded while offline" message is displayed.

Screen shot

Screenshot_2017-05-23-08-15-47.png (960×540 px, 45 KB)

Environments observed
App version : 2.5.195-alpha-2017-05-22
Android version : 5.1.1
Device vendor : Samsung
Device model : Galaxy J2 (SM-J200G)

Event Timeline

Change 355473 had a related patch set uploaded (by Mholloway; owner: Mholloway):
[apps/android/wikipedia@master] Show correct error msg when searching with no connection in PageActivity

https://gerrit.wikimedia.org/r/355473

Change 355473 merged by jenkins-bot:
[apps/android/wikipedia@master] Show correct error msg when searching with no connection in PageActivity

https://gerrit.wikimedia.org/r/355473

Tested on Samsung-SM-JI20A Galaxy Express 3 (Android 6.0.1) and App version 2.5.195-alpha-2017-05-26. This is fixed, according to the below screencap "Cannot connect to internet" message is displayed in flight mode.

T166155.png (800×480 px, 43 KB)