Last modified: 2014-10-07 18:05:07 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 T73737, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71737 - Result of chunk upload with warning omits offset
Result of chunk upload with warning omits offset
Status: NEW
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-07 07:02 UTC by John Mark Vandenberg
Modified: 2014-10-07 18:05 UTC (History)
4 users (show)

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


Attachments

Description John Mark Vandenberg 2014-10-07 07:02:03 UTC
If a chunked upload causes a warning on the first chunk (e.g. 'exists': File x already exists), the API result does not include an offset.

e.g. when re-uploading https://test.wikipedia.org/w/index.php?title=Special:Log&page=File%3AMP+sounds-pwb-chunked.png

the first chunk has the following JSON API result

{u'filekey': u'12mybcbvc27k.4hakog.25377.png', u'sessionkey': u'12mybcbvc27k.4hakog.25377.png', u'result': u'Warning', u'warnings': {u'exists': u'MP_sounds-pwb-chunked.png'}}

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


Navigation
Links