Last modified: 2012-05-25 02:54:07 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 T32646, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30646 - Some filenames fail with 'unknown-error:unknown-warning' on first step
Some filenames fail with 'unknown-error:unknown-warning' on first step
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-30 22:28 UTC by Erik Moeller
Modified: 2012-05-25 02:54 UTC (History)
4 users (show)

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


Attachments

Description Erik Moeller 2011-08-30 22:28:09 UTC
Steps to reproduce:

Upload a file called 'foo#bar.jpg' using UploadWizard. Make sure that the file isn't a duplicate or would fail for other reasons.

Expected behavior:

File should be uploaded successfully and prompt a rename if necessary.

Acceptable behavior:

File upload fails with clear failure message.

Actual behavior:

File upload fails with 'Unknown error: "unknown-warning"' on first step.

According to Elya, who reported this bug, it also occurs when there are multiple spaces in the filename; I haven't tested that or other circumstances under which it might fail.
Comment 1 Strainu 2011-09-26 21:18:52 UTC
I can confirm that this happens with multiple spaces in the name. This warning makes sense in the classic uploader, but should not happen in the UploadWizard, as here the user has the possiblity to rename the file. Also, merging multiple whitespaces could be done automatically, without user intervention.
Comment 2 drecodeam 2012-03-26 14:33:22 UTC
@Erik i tried to reproduce it, but it does  not show an error in my case. 
i named the file as "foo bar test sample.jpg", and it was working fine. 
I even tried 'foo#bar.jpg', it works fine. 
I think that it has been solved in one of the updates, i am looking into the code, but can you confirm if this problem still persists.
Comment 3 Erik Moeller 2012-05-25 02:54:07 UTC
Yeah, can't reproduce anymore either. This seems to have been fixed somewhere along the way, yay.

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


Navigation
Links