Page MenuHomePhabricator

[BUG] Error occurring when tapping on external links if set to "Always" while opening Wikipedia links in other apps
Closed, ResolvedPublicBUG REPORT

Description

It happened on my device (Pixel 2 XL - Android 8.0) , Android 7.1 emulator and Android 6.0 emulator.

Tested on my old device (Android 4.4) and works well.

If we reset the Open by default in the App Info, and then we can resolve the issue.

Steps to reproduce

  1. Use a web browser to open a wikipedia link, when it shows a dialog for choosing app to open, please select the Wikipedia App and clicks on always
  2. Back to the Wikipedia app, and clicks on the Log in to Wikipedia
  3. On the login page, click on Forgot your password?

DEMO:
https://youtu.be/QVxjF5UyuGg

Expected

Open a browser to display the link

Actual

Show the Could not display the link message

Screenshot_20171127-175016.png (2×1 px, 2 MB)

Screenshot_20171127-175036.png (2×1 px, 134 KB)

Related(?) issue

T181149#3808708 from @RHo
Happens on Nexus 5 (6.0.1):
Tapping on the links in the onboarding brings up an app selection bottom sheet every time (which does not appear on any other places where users are taken to a browser link)

app-ChooserActivity-12042017135031.png (1×1 px, 390 KB)

Now also occurring on Pixel (8.0.0) on Wikipedia 2.7.221-alpha-2017-12-12

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
cooltey added a subscriber: RHo.
cooltey renamed this task from [BUG] Investigate an error when click on external links to [BUG] Error when clicks on external links if set up "always" while opening wikipedia links in the other apps.Dec 6 2017, 11:01 PM
cooltey updated the task description. (Show Details)

Change 395902 had a related patch set uploaded (by Cooltey; owner: Cooltey):
[apps/android/wikipedia@master] Fix an external link issue after setup "always" while opening deep links

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

Change 395902 merged by jenkins-bot:
[apps/android/wikipedia@master] Fix an external link issue after setup "always" while opening deep links

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

RHo renamed this task from [BUG] Error when clicks on external links if set up "always" while opening wikipedia links in the other apps to [BUG] Error occurring when tapping on external links if set to "Always" while opening Wikipedia links in other apps.Dec 12 2017, 3:22 PM
RHo updated the task description. (Show Details)
Restricted Application changed the subtype of this task from "Task" to "Bug Report". · View Herald TranscriptMay 1 2020, 12:27 PM