https://bugzilla.wikimedia.org/show_bug.cgi?id=25787
Summary: UploadWizard's error handling is totally broken Product: MediaWiki extensions Version: any Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: Normal Component: UploadWizard AssignedTo: ne...@wikimedia.org ReportedBy: roan.katt...@gmail.com CC: gpaum...@wikimedia.org Try uploading a file to http://commons.prototype.wikimedia.org/uwd/Special:UploadWizard (whose upload API is broken right now, gonna leave it that way for now so this bug remains reproducible), and the following sequence of events will take place: * Upload a file with a name that's unlikely to already be used on the wiki * Spinner displays while the file uploads * Spinner is replaced by a green checkbox and the text "OK" * An alert box appears with "error : Internal error : An internal error occurred" * The green checkbox disappears and the green OK text is replaced with the red text "[mwe-upwiz-failed]" * An alert box appears with "huh?" * According to Firebug, the file http://commons.prototype.wikimedia.org/uploadwizard-deployment/extensions/UploadWizard/resources/16px-Gnome-process-stop.svg.png is requested (this URL 404s), possibly explaining why the green checkbox isn't replaced with a red X or something * After all this, "0 of 1" will change to "1 of 1", and the wizard will CONTINUE TO THE NEXT STEP as though nothing went wrong * Finish the wizard, and the wizard will simply hang at the very last step It gets even more fun when trying to upload a file with a name that already exists on the wiki, e.g. example.png . In that case, the error message in the firsts alert box is "error: overwrite: Overwriting an existing file is not allowed". -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l