Last modified: 2011-07-06 18:17:23 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 T28183, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26183 - Invalid session key error at describe-file submission
Invalid session key error at describe-file submission
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:
  Show dependency treegraph
 
Reported: 2010-11-30 23:15 UTC by Neil Kandalgaonkar
Modified: 2011-07-06 18:17 UTC (History)
2 users (show)

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


Attachments

Description Neil Kandalgaonkar 2010-11-30 23:15:56 UTC
In a batch of three files, this was returned when POSTing the final one. 

{"error":{"code":"invalid-session-key","info":"Not a valid session key"}}


1) how does this happen? if we made it through the first stage, surely we have a valid session key.
2) Also, the error was not handled, instead we blocked on all the files.



Here's the contents of the POST (although it's probably irrelevant, the others had similar contents and they worked).

action	upload
filename	UploadWizard-0.1-14-use.png
format	json
sessionkey	4j117az9oqk5j1yo3ndrvp32x9zc1fn.png
summary	User created page with UploadWizard (alpha)
text	=={{int:filedesc}}== {{Information |description={{en|1=Final thank you page with links to show how to use these files, in version 0.1 of the Wikimedia Commons UploadWizard. Browser: Mozilla Firefox 3.6.12, Mac OS X version.}} |date=2010-11-30 |source=http://commons.wikimedia.org/wiki/Special:UploadWizard |author=Wikimedia Foundation |permission= |other_versions= |other_fields= }} =={{int:otherinfo}}== {{free screenshot}}=={{int:license-header}}== {{Cc-by-sa-3.0}} [[Category:Uploaded with UploadWizard]] [[Category:Screenshot]] [[Category:UploadWizard-0.1]]
token	55287cfcb111ff4f0dba1be45469cb02+\
Comment 1 Roan Kattouw 2010-12-01 19:18:39 UTC
You're saying you 1) stashed a file and got that key, 2) successfully used that key to grab metadata and a thumb, 3) got that error when trying to upload the image for real? That's disturbing.
Comment 2 Neil Kandalgaonkar 2011-03-21 23:13:40 UTC
not reproducible, so making it no longer a blocker
Comment 3 Neil Kandalgaonkar 2011-07-06 18:17:23 UTC
Pretty sure this is related to the app looking for the previous UploadStash thumbnail after it has been removed. Should be fixed since r89913

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


Navigation
Links