Last modified: 2014-05-08 07:33:01 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 T66908, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64908 - UploadWizard: Show proper error message instead of throwing JS errors when entering an invalid title
UploadWizard: Show proper error message instead of throwing JS errors when en...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Rainer Rillke @commons.wikimedia
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-05 18:00 UTC by Rainer Rillke @commons.wikimedia
Modified: 2014-05-08 07:33 UTC (History)
6 users (show)

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


Attachments

Description Rainer Rillke @commons.wikimedia 2014-05-05 18:00:03 UTC
How to reproduce:
# Go to https://commons.wikimedia.org/wiki/Special:UploadWizard
# Proceed until the "describe" step
# Enter an invalid title, e.g. containing a "["
# UploadWizard will throw:
Error: Unable to parse title
https://bits.wikimedia.org/commons.wikimedia.org/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%2CSpinner%7Cjquery.triggerQueueCallback%2CloadingSpinner%2CmwEmbedUtil%7Cmw.MwEmbedSupport&only=scripts&skin=vector&version=20140505T003542Z
Line 206

Expected: Error message in UI and not in JS console :P
Comment 1 Rainer Rillke @commons.wikimedia 2014-05-05 20:51:22 UTC
https://gerrit.wikimedia.org/r/131595/ has a related patchset uploaded by me.

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


Navigation
Links