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

Try uploading a file to (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
* 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
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

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to