Apps-android-commons: Crash when uploading a picture via Nearby

Created on 19 Nov 2019  路  11Comments  路  Source: commons-app/apps-android-commons

API level: 28
Android version: 9
Device manufacturer: samsung
Device model: SM-G970F
Device: beyond0
Network type: wifi
App version name: 2.11.0.493 (GitHub commit 8ccad22)

Steps to reproduce:

  1. Start Commons app
  2. Tap "Nearby"
  3. Select any pin
  4. Tap the + button
  5. Tap gallery
  6. Select any picture
  7. Crash

Same if tapping camera at step 5

bug nearby

All 11 comments

Hello, I would like to fix this bug :)

Okay @IgnacioGarcia198 go for it. Please don't hesitate to ask us because this can be a relatively complicated issue.

That is true. I just tried a very easy fix for this issue, my app on my device is not crashing anymore. Although I also changed some version numbers etc in the build.grade files (nothing to do with this issue, just Android Studio always complains about such things) I hope it's not a problem, just let you know.

Actually changing build number would be a problem. When you create the pull request please make sure just relevant changes are made. Any extra changes will block your Pr be谋ng merged.

Hello, there is this directory values-tt-cyrl which is causing an error, may I delete it?
Also should I send the PR on master or on a different branch?
Thanks in advance.

As mentioned in #3212, I am reopening this issue until @neslihanturan confirms that this looks to be correct way of fixing the issue. :)

I just tested, it does not crash anymore :-)

The image is not linked to Wikidata though:
https://commons.wikimedia.org/wiki/File:Queensway_Shopping_Centre.jpg
https://www.wikidata.org/wiki/Q7271124
Should I create a new issue about that?

@nicolas-raoul What version of the app are you using? Wikidata edit was fixed just a few hours back(7 hours back) by this commit https://github.com/commons-app/apps-android-commons/commit/891d9ec41ce6b799fa6bc001c48da40074b09e9a.

@maskaravivek I just tried again with commit 9b15a327c55cb811e7d8ed4d2ffbacc65d821864 (the commit just after your fix), and unfortunately the image is not linked from Wikidata:
https://commons.wikimedia.org/wiki/File:Geylang_Methodist_Secondary_School.jpg
https://www.wikidata.org/wiki/Q5554989

Hi @nicolas-raoul , I'm on alpha currently (2.11.0.496~3f0c3bb) and https://www.wikidata.org/wiki/Q34814515 works for me. If the current alpha version doesn't work for you, could you send us logs please?

Seems like crash is solved:)

Was this page helpful?
0 / 5 - 0 ratings