Last modified: 2014-06-09 03:46:09 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 T67958, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65958 - UW fails to load with "Unknown error: "unknown".", js error
UW fails to load with "Unknown error: "unknown".", js error
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Tisza Gergő
: browser-test-bug
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-30 19:38 UTC by Chris McMahon
Modified: 2014-06-09 03:46 UTC (History)
9 users (show)

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


Attachments

Description Chris McMahon 2014-05-30 19:38:25 UTC
as a logged in user, attempt to upload a file at http://commons.wikimedia.beta.wmflabs.org/wiki/Special:UploadWizard

browser shows Unknown error: "unknown".

javascript error console shows 

Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://commons.wikimedia.beta.wmflabs.org/w/api.php

but the api URL responds properly to a casual query
Comment 1 Andre Klapper 2014-06-02 10:49:43 UTC
Confirming.
Comment 2 Greg Grossmeier 2014-06-02 23:40:51 UTC
Mark: I'm taking the liberty of assigning this to you, but this is mostly to get this on MM team's plate to be fixed before Thursday's branch cut. If it can't be fixed, determining where it broke and reverting before Thursday would be ideal.
Comment 3 Gilles Dubuc 2014-06-03 08:32:27 UTC
PHP fatal error in /srv/common-local/php-master/extensions/CommonsMetadata/LicenseParser.php line 51:
Argument 1 passed to CommonsMetadata\LicenseParser::sortDataByLicensePriority() must be an array, null given, called in /srv/common-local/php-master/extensions/CommonsMetadata/DataCollector.php on line 310 and defined
Comment 4 Gerrit Notification Bot 2014-06-03 08:38:49 UTC
Change 136986 had a related patch set uploaded by Gilles:
Avoid trying to sort licenses when there are none

https://gerrit.wikimedia.org/r/136986
Comment 5 Gerrit Notification Bot 2014-06-03 18:09:20 UTC
Change 136986 merged by jenkins-bot:
Avoid trying to sort licenses when there are none

https://gerrit.wikimedia.org/r/136986
Comment 6 Andre Klapper 2014-06-08 20:53:40 UTC
Gilles/Gergő: As the patch has been merged: Is more work needed to fix this problem, or can this ticket be closed as FIXED?
Comment 7 Tisza Gergő 2014-06-09 03:46:09 UTC
We might want to check how this could happen in the first place; IIRC the code always passes an array so something funny must be going on. The direct problem has been fixed though.

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


Navigation
Links