Page MenuHomePhabricator

Result of chunk upload with warning omits offset
Open, LowPublic


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

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'}}

Version: unspecified
Severity: minor



Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:50 AM
bzimport added a project: MediaWiki-API.
bzimport set Reference to bz71737.
bzimport added a subscriber: Unknown Object (MLST).
jayvdb created this task.Oct 7 2014, 7:02 AM
Anomie moved this task from Unsorted to Needs Code on the MediaWiki-API board.Feb 19 2015, 6:29 PM