Page MenuHomePhabricator

Unable to overwrite file due to "exact duplicate" warning
Open, Needs TriagePublic

Description

Hello,

I am unable to overwrite commons:File:First_aid_19.jpg due to an exact duplicate warning. However, they are not exact duplicates as shown below.

Original:

First_aid_19.jpg (3×3 px, 2 MB)

Attempted overwrite:
First_aid_22.jpg (3×3 px, 3 MB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Works for me, On the error message, you needed to scroll down and hit "Upload anyway, ignore warnings" (or similar wordings).

I suspect it was triggered by "A file identical to this file (File:First aid 19.jpg) has previously been deleted. You should check that file's aid 19.jpg deletion history. If you disagree with the reason for deletion, please make an undeletion request instead of re-uploading."

@Riley_Huntley: Can you confirm Peachey88's assumption? Did you see a ""A file identical to this file has previously been deleted" message?

@Riley_Huntley: Can you confirm Peachey88's assumption? Did you see a ""A file identical to this file has previously been deleted" message?

I did receive this warning and checked upload anyways. I also attempted "ignore any warnings". The exact duplicate prevented uploading.

Works for me, On the error message, you needed to scroll down and hit "Upload anyway, ignore warnings" (or similar wordings).

I suspect it was triggered by "A file identical to this file (File:First aid 19.jpg) has previously been deleted. You should check that file's aid 19.jpg deletion history. If you disagree with the reason for deletion, please make an undeletion request instead of re-uploading."

Although a separate issue, there is a deletion history because I twice uploaded the new (white background) file and it instead re-uploaded the existing revision. The upload preview was showing an edited white background.

We are hitting this issue with https://wiki.documentfoundation.org/File:Call_statement.svg
We tried to upload a version of the SVG with changes in the markup that do not affect how it is displayed.
I don't understand why a warning is treated as an error and ignoring doesn't help. It fails with "The upload is an exact duplicate of the current version of File:Call statement.svg."