Last modified: 2011-03-19 02:14:25 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 T26695, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24695 - Upload wizard: Error handling system
Upload wizard: Error handling system
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Neil Kandalgaonkar
:
Depends on:
Blocks: 27260
  Show dependency treegraph
 
Reported: 2010-08-06 18:42 UTC by Guillaume Paumier
Modified: 2011-03-19 02:14 UTC (History)
1 user (show)

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


Attachments

Description Guillaume Paumier 2010-08-06 18:42:13 UTC
- file determined bad after upload (zero length, cannot id format, etc.)
- site temporarily unavailable
- file bad upon entry into input (filename)
- file identical to other files on wiki
- constrain description/title for bad characters
- file transfer stalled (in some browsers, is this even possible to detect??)
- missing token (rewrite network use to re-obtain token transparently)
Comment 1 Roan Kattouw 2010-08-06 23:15:02 UTC
Not sure if this is relevant, but reading this list also brings permissions errors (user has no upload permission or, worse, loses it halfway through the wizard) and the wiki being in read-only mode.
Comment 2 Roan Kattouw 2010-08-06 23:15:13 UTC
... to mind.
Comment 3 Neil Kandalgaonkar 2010-11-17 22:12:09 UTC
Changes in wiki state whilst uploading seem like a corner case. 

Anyway review bug#24699 for the more comprehensive answer to how it will work
Comment 4 Neil Kandalgaonkar 2010-11-23 08:08:25 UTC
infrastructure mostly there.

- transparently obtaining token was added some time ago. (There can be timeout errors still).

- errors on page 1 mostly dealt with, since r77136.

This is not quite a dupe of bug#25787 but is covering similar territory.
Comment 5 Neil Kandalgaonkar 2011-03-19 02:14:10 UTC
Considering this bug closed, at least insofar as it represents
- missing token
- site unavailable, unreachable
- identical file handling
- other upload API error handling


Lots of revisions have fixed this, but the last holes should be plugged with

r84221, r84223, r84224, r84226, r84286, r84301, r84303.

For description page API errors refer to bug 24758.

For description/title bad characters, see bug 24703
Comment 6 Neil Kandalgaonkar 2011-03-19 02:14:25 UTC
See previous comment.

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


Navigation
Links