Last modified: 2012-12-27 00:40:53 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 T41948, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39948 - Flickr upload stuck in "Uploading..."
Flickr upload stuck in "Uploading..."
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
master
All All
: High blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 43450
  Show dependency treegraph
 
Reported: 2012-09-03 20:26 UTC by Krinkle
Modified: 2012-12-27 00:40 UTC (History)
5 users (show)

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


Attachments

Description Krinkle 2012-09-03 20:26:27 UTC
After reading http://lists.wikimedia.org/pipermail/commons-l/2012-August/006641.html I thought I'd try it out on http://mwreview.wmflabs.org/wiki/index.php/Special:UploadWizard.

I tried uploading this photo: http://www.flickr.com/photos/craftybunny/88011957/
It goes into an infinite "Uploading..." for me[1].

No console errors.

Trying again when checking for HTTP requests I see a POST request to api.php with response {"options":"success"}. Though there is a response indeed, the request itself is marked as "Aborted / Cancelled" in the "Resources" tab of the Development Tools in Chrome.

Not sure what's going on, but it appears to be a logic problem (a missing error handler somewhere, causing state to get stuck eventhough the asynchronous action did in fact get back, just not with success) - aside from the fact that the api.php returns in error, which is another problem.


[1] Left it open for 20 minutes, this is not a slow thing or a time out. Polling resources, http requests and console messages, it seems like it died very early on (1-5 seconds in) and nothing happened after that.
Comment 1 Derk-Jan Hartman 2012-09-03 20:39:40 UTC
which browser ?
Comment 2 Krinkle 2012-09-03 20:47:06 UTC
Chrome 21 (stable; no extensions enabled), Mac OS X 10.8.1
Comment 3 Mormegil 2012-09-04 09:38:07 UTC
I seem to have the same problem on Firefox 15.0 on Windows. The upload gets stuck in the uploading phase. The last operation is the action=upload POST to api.php, ending with 200 OK.

However, the file seems to have reached the server, as it is in the upload stash (and the API result is result: "Success").

I was a bit surprised the API call requests format=jsonfm, which is what it gets in the result, but it seems this is normal in UW (“we use JSON in HTML because according to mdale, some browsers cannot handle just JSON”). Huh.
Comment 4 Derk-Jan Hartman 2012-09-05 08:16:40 UTC
BTW, this server has the "Refused to display document because display forbidden by X-Frame-Options." since recent UW changes.
Comment 5 Derk-Jan Hartman 2012-09-05 08:20:40 UTC
and yes, we should figure out what exactly it was that made mdale go with jsonfm instead of json, it's weird and should be fixed in my opinion if in any way possible.
Comment 6 Derk-Jan Hartman 2012-09-05 08:23:18 UTC
And our response handler should detect the X-Frame-Options header, so we can give proper feedback.
Comment 7 Derk-Jan Hartman 2012-09-05 10:00:39 UTC
Added api check for x-frame-options in https://gerrit.wikimedia.org/r/22708
Comment 8 Ryan Kaldari 2012-11-14 19:52:48 UTC
I've added some additional error handling to Flickr uploading. Please retest. BTW, it is currently turned on on test.wikipedia.org, so feel free to test it there:
https://test.wikipedia.org/wiki/Special:UploadWizard
Comment 9 Nischay Nahata 2012-11-18 06:31:00 UTC
Tested using Crossbrowsertesting.com for said configurations

The photo uploads on https://test.wikipedia.org/wiki/Special:UploadWizard

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


Navigation
Links