Last modified: 2014-06-21 15:48:56 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 T67406, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65406 - UploadWizard: Flickr uploading broken - browser redirect the user to the result of the API request
UploadWizard: Flickr uploading broken - browser redirect the user to the resu...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Highest major (vote)
: ---
Assigned To: Rainer Rillke @commons.wikimedia
https://commons.wikimedia.org/wiki/Co...
:
Depends on:
Blocks: 43450
  Show dependency treegraph
 
Reported: 2014-05-16 17:56 UTC by Rainer Rillke @commons.wikimedia
Modified: 2014-06-21 15:48 UTC (History)
11 users (show)

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


Attachments

Description Rainer Rillke @commons.wikimedia 2014-05-16 17:56:18 UTC
Instead of sending an AJAX request, the browser redirect the user to the result of the API request

The feature is completely broken. It was reported under https://commons.wikimedia.org/wiki/Commons:Village_pump#Anyone_else_having_problems_with_Flickr_uploads_.3F
Comment 2 Rainer Rillke @commons.wikimedia 2014-05-16 20:57:49 UTC
So here is what I found out so far:
* It is using IframeTransport for Flickr upload -- Why the hell? It's just upload-by-url; this could be a normal POST request of either the ActiveX component or the standard XHR (which is both normalized by $.ajax)
* It doesn't set the target of the form -- so it submits to the page instead of the iframe
Comment 3 Gerrit Notification Bot 2014-05-16 22:02:55 UTC
Change 133844 had a related patch set uploaded by Rillke:
Wait until iframe is fully loaded before submitting form

https://gerrit.wikimedia.org/r/133844
Comment 4 Rainer Rillke @commons.wikimedia 2014-05-16 22:10:20 UTC
Follow-up:
Bug 65423 - UploadWizard should not use iframe transport for upload_by_url requests to the wiki-own-API (FlickrUploading)
Comment 5 Cometstyles 2014-05-18 23:43:46 UTC
Any updates on this? Its a widely used feature on commons and probably the most useful...
Comment 6 Rainer Rillke @commons.wikimedia 2014-05-19 05:32:46 UTC
(In reply to Cometstyles from comment #5)
> Any updates on this?
It's awaiting code review. Go to #wikimedia-multimedia and nag there.
Comment 7 Gerrit Notification Bot 2014-05-19 18:32:18 UTC
Change 133844 merged by jenkins-bot:
Wait until iframe is fully loaded before submitting form

https://gerrit.wikimedia.org/r/133844
Comment 8 Andre Klapper 2014-05-20 10:35:17 UTC
Patch was merged yesterday - is there more work left to do here (if yes: please reset the bug report status to NEW or ASSIGNED), or can you close this ticket as RESOLVED FIXED?
Comment 9 Rainer Rillke @commons.wikimedia 2014-05-20 10:48:28 UTC
(In reply to Andre Klapper from comment #8)
Is there a reason we have not a resolved deployed ? Sure MW is also used by other parties but WMF wikis are the most important customer, I think.
Comment 10 Cometstyles 2014-05-20 12:01:58 UTC
I still get this (http://i.imgur.com/yNgeWbE.png) and get redirected to this page (http://commons.wikimedia.org/w/api.php) when i click "Leave this page"..its still very much  broken..
Comment 11 Rainer Rillke @commons.wikimedia 2014-05-20 12:06:54 UTC
(In reply to Cometstyles from comment #10)
Of course you get because it's not yet deployed. But Andre Klapper is urging me to close bugs as soon as I features are fixed in core. The issue is that this Bugzilla ticket is not for deployment of the fixed version but to get the fix into the code repository of UploadWizard.
Comment 12 Rainer Rillke @commons.wikimedia 2014-05-20 12:34:07 UTC
According to [[:mw:MediaWiki_1.24/Roadmap]], the new version will be deployed today to Commons :)
Comment 13 Andre Klapper 2014-05-20 13:34:15 UTC
FIXED means fixed in the code base. FIXED does not mean deployed on the servers. https://www.mediawiki.org/wiki/Bug_management/Bug_report_life_cycle
Comment 14 Tisza Gergő 2014-05-20 17:34:36 UTC
Maybe something to revisit after the Phabricator switch as the bug tracker and the version control system is connected much more closely there so tracking deploy status is probably easier to do.
Comment 15 Rainer Rillke @commons.wikimedia 2014-05-20 20:13:30 UTC
No, this isn't deployed yet :( so it will be on Tuesday, 27 May 2014
Comment 16 Tisza Gergő 2014-05-20 20:41:32 UTC
What is the impact of this bug? We could do a backmerge if it affects a lot of uploads.
Comment 17 Rainer Rillke @commons.wikimedia 2014-05-20 20:57:05 UTC
> What is the impact of this bug? We could do a backmerge if it affects a lot of 
> uploads.

1) The feature is completely broken for browser other than IE 11.
2) There are alternative means of uploading from Flickr involving servers on Labs.
3) 11'187 files have been uploaded using this feature so far. Note that it was implemented in 07/2012 but enabled/ prepared to be enabled on 2012-11-13.
Comment 18 Tisza Gergő 2014-05-20 21:51:24 UTC
That's about 20 images a day. We probably should not use a SWAT deploy for something like that.
Comment 19 Gerrit Notification Bot 2014-06-21 12:15:37 UTC
Change 141208 had a related patch set uploaded by Inchikutty:
Wait until iframe is fully loaded before submitting form

https://gerrit.wikimedia.org/r/141208
Comment 20 Gerrit Notification Bot 2014-06-21 14:19:59 UTC
Change 141208 abandoned by Alex Monk:
Wait until iframe is fully loaded before submitting form

https://gerrit.wikimedia.org/r/141208
Comment 21 Andre Klapper 2014-06-21 15:48:56 UTC
[Restoring previous FIXED status]

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


Navigation
Links