Page MenuHomePhabricator

[BUG] Info for article packs being downloaded are blanked when returning to the Offline Library mid-download
Closed, ResolvedPublic

Description

Steps to reproduce
  1. Start downloading an article pack from the Offline Library. Eg., Wikipedia for Schools
  2. Leave the Wikipedia app, and open the notifications drawer
  3. Tap on the notifications drawer
  4. Navigate to the Offline Library screen
  5. Tap on the article pack being downloaded to view the details screen
Expected

The info (name, date, thumbnail, image, etc) should be shown for the article pack being downloaded.

Actual

Bug in step 3 is already captured in T172860 - but it appears as though if the app quits rather than returning to the Offline library from the notifications screen, information about the article pack downloading in progress is blank (on both the list in step 4 and details screen instep 5)
Vid cast of the bug is here: https://youtu.be/OaMApFy0yNQ

Occurring on

Nexus 5 (6.0.1) on v2.6.203-alpha-2017-08-28.

Event Timeline

Change 375081 had a related patch set uploaded (by Dbrant; owner: Dbrant):
[apps/android/wikipedia@master] Update compilation metadata in Local activity, as well as Remote.

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

Change 375081 merged by jenkins-bot:
[apps/android/wikipedia@master] Update compilation metadata in Local activity, as well as Remote.

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

ABorbaWMF subscribed.

Tested on a Nexus 4 with Android 5.1 and a Pixel with Android 7.1.1 on 2.6.203-alpha-2017-09-06

Just tried this with a few zim files and it seems to be working now.

Dbrant claimed this task.