Last modified: 2013-04-22 16:15:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38342, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36342 - Failed to upload photo: Unknown warning: "exists-normalized"
Failed to upload photo: Unknown warning: "exists-normalized"
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-29 18:44 UTC by cdani
Modified: 2013-04-22 16:15 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
error screen (147.99 KB, image/png)
2012-04-29 18:44 UTC, cdani
Details
screenshot of current situation (40.50 KB, image/png)
2012-08-25 08:40 UTC, Derk-Jan Hartman
Details
result of exists-normalized (51.52 KB, image/png)
2012-08-25 21:30 UTC, Derk-Jan Hartman
Details

Description cdani 2012-04-29 18:44:45 UTC
Created attachment 10484 [details]
error screen

Hi.
I try to upload a photo, and after the "Describe" step, when I push the button to finish, it appears this message

Auditorio_de_Tenerife.JPG
Unknown warning: "exists-normalized".

None of the uploads were successful.

Thanks
Comment 1 Andre Klapper 2012-05-01 13:39:10 UTC
I guess that a file with the same name already exists, hence the problem. See
http://commons.wikimedia.org/wiki/File:Auditorio_de_Tenerife.jpg

However the warning could have a clearer wording.

If I had rights to edit the bug summary I would add "Unknown warning: "exists-normalized"." to it. :)
Comment 2 Thehelpfulone 2012-05-27 12:54:07 UTC
Marking as new.
Comment 3 Ryan Kaldari 2012-05-28 22:20:32 UTC
Changing severity. Please see http://www.mediawiki.org/wiki/Bug_management/Bugzilla_usage#Severity.
Comment 4 Mark Holmquist 2012-05-30 18:08:18 UTC
It looks like the only difference between 'exists' and 'exists-normalized' is that we had to change the case of the file extension to find the existing file. We should be able to just add the different string in an or clause in an if statement and be done with it. On it now.
Comment 5 Mark Holmquist 2012-05-30 18:20:53 UTC
Actually, I wasn't able to reproduce this bug, at least not by just changing the case of the filename's various parts. Is there anythings else that's special about this filename that might be causing problems? Were there special characters in it?
Comment 6 Mark Holmquist 2012-05-30 18:36:00 UTC
I spoke too soon! This happens any time you upload a file named <something>.JPEG and <something>.jpg already exists. That's sort of a strange feature, but I suppose it makes sense on some level. Anyway, this patch surfaces the error to the user as if it were a normal 'exists' warning: https://gerrit.wikimedia.org/r/9420
Comment 7 Mark Holmquist 2012-08-16 16:24:07 UTC
Hi!

Recently, a patch to MediaWiki core [0] changed the behavior of API warnings. We now get those at the first step, even if we don't handle them necessarily.

Could you try to reproduce this bug, and let us know if it still occurs? If so, the solution would likely be very different from before this patch.

[0] https://gerrit.wikimedia.org/r/#/c/9261/

Thanks!
Comment 8 Derk-Jan Hartman 2012-08-25 08:40:56 UTC
Created attachment 11003 [details]
screenshot of current situation

I got this screen now. Seems proper right ?
Comment 9 Derk-Jan Hartman 2012-08-25 21:30:48 UTC
Created attachment 11005 [details]
result of exists-normalized

Correction, tested on an actual exists-normalized warning in the details step now.

I had a 'Hav you seen.PNG' and tried to upload a .png to 'Hav you seen.png' and received the following feedback.
Comment 10 Derk-Jan Hartman 2012-08-25 21:32:00 UTC
This is not related to 'exists normalized' in the Upload step, which is bug 30625.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links