apps-android-commons: Upload semi-failure for image without EXIF, reproducible 100%
Steps to reproduce
- Install Scrambled EXIF app
- Choose a picture worth uploading to Commons, share it to Scrambled EXIF, then share the result to Commons
- Enter a caption, press Next
- A popup
No location foundappears, pressSkip - A popup
Problems found in imageappears, pressUpload - Select a correct depiction, category, license, and send
Expected behaviour
Upload should succeed
Actual behaviour
There are two thumbnails, one uploaded and one failed, as seen below (I uploaded only once “Restaurant […]” picture):

Android version
8
Commons app version
master
Would you like to work on the issue?
Prefer not
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (16 by maintainers)
Commits related to this issue
- fix #4940 — committed to JackyLiang522/apps-android-commons by JackyLiang522 2 years ago
- fix #4940 — committed to JackyLiang522/apps-android-commons by JackyLiang522 2 years ago
- fix #4940 (#4986) — committed to commons-app/apps-android-commons by JackyLiang522 2 years ago
According to the Logcat, a
SecurityExceptionis raised when the picture is not uploaded by a process whoseuid=10100(the UID of the preinstalled photo app). I think the issue arises because the common apps deny permission when uploading photos directly from apps other than the system photo app, such as ExifEarser and Scrambled EXIF.