Page MenuHomePhabricator

Places: Crash on Android if location permission is denied
Closed, ResolvedPublicBUG REPORT

Description

Steps to reproduce

  1. Open Places in the Wikipedia Android app.
  2. When asked to allow access to your location, deny it.
  3. Zoom in an click on a place.

Actual result

  1. The app crashes. I tried to use logcat to find out what’s going on, but the last log message of the thread is clicked: 53.40348333, -2.46240556, then nothing.

Expected result

  1. The article opens.

Software version

  • App: 2.7.50471-alpha-2024-02-22. Reproduced with an older alpha version and the release version as well. (Maybe my logcat attempt was with the older version? I don’t remember, but if it matters, I can retry it with the latest alpha.)
  • One UI 4.1 (Samsung-flavored Android 12)

Event Timeline

Dbrant claimed this task.
Dbrant subscribed.

Just noticed it myself this morning, and already fixed 👍
(hotfix release in flight)

Thanks, that was quick! The new version doesn’t crash anymore, but I’ve found another issue: T358426: Places: Unable to view article on map if device location access is denied. I really don’t want to allow access to my location. 😀