Last modified: 2014-11-20 15:35:01 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 T43306, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41306 - key 'rsion=' is not in a proper format
key 'rsion=' is not in a proper format
Status: NEW
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.21.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-23 15:04 UTC by Sam Reed (reedy)
Modified: 2014-11-20 15:35 UTC (History)
6 users (show)

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


Attachments

Description Sam Reed (reedy) 2012-10-23 15:04:00 UTC
2012-10-23 15:02:26 mw62 commonswiki: [53a88f26] /w/api.php?format=xml&action=upload   Exception from line 111 of /usr/local/apache/common-local/php-1.21wmf2/includes/upload/UploadStash.php: key 'rsion=' is not in a proper format


Not sure if this is an API bug. Or likely an UploadWizard bug...?
Comment 1 Roan Kattouw 2012-10-24 18:49:19 UTC
The exception log is refusing to give me a trace for this one, so I live-hacked wfGetAllCallers(false) into the exception message:

2012-10-24 18:46:03 mw70 commonswiki: [2f5ca212] /w/api.php?format=xml&action=upload   Exception from line 112 of /usr/local/apache/common-local/php-1.21wmf2/includes/upload/UploadStash.php: key 'rsion=' is not in a proper format require/ApiMain::execute/ApiMain::executeActionWithErrorHandling/ApiMain::executeAction/ApiUpload::execute/ApiUpload::selectUploadModule/UploadFromChunks::continueChunks/UploadStash::getMetadata/UploadStash::getFile
Comment 2 Jan Gerber 2012-10-26 19:21:38 UTC
[USER-AGENT] => Wiki.java 0.26

so this must be http://code.google.com/p/wiki-java/source/browse/trunk/src/org/wikipedia/Wiki.java

i see no rsion in the code, on the other hand svn is at 0.27 and the released
version 0.26 did not have chunk support at all.
so someone must be using that file.

the page mentions

"""Bug reports can go to [[User talk:MER-C]] (fast) or the tracker
(slow). Before reporting character encoding problems, please display
the output in a JOptionPane to isolate your development
environment.""" http://en.wikipedia.org/wiki/User_talk:MER-C

possibly we can get them involved here.

after a quick look at the java code my guess is that the multipartPost function is broken, it does not use

Content-Disposition: file; name="chunk"; filename="foo.ogv"
Content-Type: application/ogg
data

for the chunk but

Content-Disposition: form-data; name="chunk"; filename="foo.ogv"
Content-Type: application/octet-stream
data

not sure if that causes parsing errors in php.
Comment 3 John Mark Vandenberg 2014-11-20 15:35:01 UTC
Is this still occurring?
If so, has a bug been raised in the clients issue tracker?

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


Navigation
Links