Last modified: 2013-08-26 09:49:03 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 T55283, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53283 - UpWiz should provide meaningful error message if file upload failed because an empty request was issued
UpWiz should provide meaningful error message if file upload failed because a...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-23 22:14 UTC by Rainer Rillke @commons.wikimedia
Modified: 2013-08-26 09:49 UTC (History)
4 users (show)

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


Attachments

Description Rainer Rillke @commons.wikimedia 2013-08-23 22:14:16 UTC
Orinal bug title:
UpWiz should provide meaningful error message if file upload failed because an empty request was issued

Empty requests are issued, for example, if the browser cannot read the file due to missing read permission (but you can select them if you have the enumerate-files-permission for that folder).

The result of the request is also empty. This triggers a JavaScript error at https://github.com/wikimedia/mediawiki-extensions-UploadWizard/blob/6b1ba63356be72188bf9fb95f6d165381ee8f9de/resources/mw.UploadWizardUpload.js#L175
where result.error is undefined.

This makes UpWiz "spinning" foreever without telling the user that something went wrong.

Tested with Firefox 23 and Windows 7.
Comment 1 Rainer Rillke @commons.wikimedia 2013-08-23 22:35:06 UTC
After checking with Fiddler2 (local proxy), it turned out that the request is actually not sent at all. Firebug, indicated a request...
Comment 2 Rainer Rillke @commons.wikimedia 2013-08-23 22:36:04 UTC
(In reply to comment #0)
> where result.error is undefined.
result is undefined.

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


Navigation
Links