[Bug]: Commons 6.6.0~null No automatic suffix when uploading multiple images with the same name

Open
#6,904 5 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
android, kotlin
Domain
mobile

Research direction

Start by reading the app's image-upload flow and the handling of filenames when multiple images share a name; no specific files or tests are named in the issue. Reproduce by uploading three images with the same name in Commons app 6.6.0~null. Done means each upload gets an automatic suffix rather than overwriting an existing image as a new version.

Written by the indexing model from the issue text.

Description

Summary

I noticed today that when uploading multiple images (Commons version 6.6.0~null) with the same name, no automatic suffix is generated.

Steps to reproduce

I tried to upload three images with the same name. In the past, a suffix was automatically added. That isn't working right now. I didn't even notice at first. (There were also upload errors. I can't say if there's a connection.) See: https://commons.wikimedia.org/wiki/File:20260614_xl_1534-%E2%80%9EBiohof_Werder%E2%80%9C,_Eisenbahnstr._158,_Werder-Havel,_Kirsch-Selbstpfl%C3%BCcke_auf_der_Obstwiese_auf_der_Glindower_Platte_in_Plessow.jpg

Expected behaviour

Formation of a suffix

Actual behaviour

Various images will be overwritten as a new version

Device name

Pixel Pro 7

Android version

Android 16

Commons app version

6.6.0~null

Device logs

No response

Screenshots

No response

Would you like to work on the issue?

None

Dominant language
Kotlin
Stars
1.2k
Forks
1.4k
Avg merge
1d 4h
Merged PRs (30d)
156

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from commons-app/apps-android-commons

All issues in commons-app/apps-android-commons

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.