You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
66e9c1f but I believe this affects all recent versions
Android version
5.1
Device used
Moto G5
Problem description
When media is updated for a Central draft, that update is not reflected on Collect.
Steps to reproduce the problem
Start a Central draft for a form with attached media such as All Widgets.
scan in the draft QR code to Collect
change one of the media files in Central
Refresh the form in Collect
Expected behavior
The new media file should show in Collect.
Other information
Things I've verified:
Central changes the md5 hash
Central changes the etag
Collect does download the new file and updates the "updated at" timestamp for the form
The media file is correctly written to storage! I verified this through adb and the files app. Yes, this means that the file that is being used by Collect does not seem to exist in storage.
The problem persists even after killing and reopening Collect
If I delete the image from storage, Collect shows a missing image error. Then if I download the form update, the expected (new) image is saved to disk but the unexpected (old) image is still shown when filling a form!
If I delete the blank form from the UI and download it again, the unexpected (old) image is still shown
If I delete the project and create a new one from the same QR code, I get the expected (new) image
If I scan in the QR code again and create a duplicate project, the duplicate project shows the expected (new) image. The original project still shows the old image
ODK Collect version
66e9c1f but I believe this affects all recent versions
Android version
5.1
Device used
Moto G5
Problem description
When media is updated for a Central draft, that update is not reflected on Collect.
Steps to reproduce the problem
Expected behavior
The new media file should show in Collect.
Other information
Things I've verified:
https://forum.getodk.org/t/select-one-multiple-with-images-for-choices-big-image-choice-filtering-labels-images-not-shown-enketo-images-repeated-collect/40655/6?u=ln
I suspect this is related to glide disk caching: bumptech/glide#624 (comment), https://github.com/bumptech/glide/wiki/Caching-and-Cache-Invalidation
The text was updated successfully, but these errors were encountered: