Last modified: 2013-04-22 16:15:41 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 T48783, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46783 - Unexpected non-MediaWiki exception: Serialization of 'Closure' is not allowed
Unexpected non-MediaWiki exception: Serialization of 'Closure' is not allowed
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized critical (vote)
: ---
Assigned To: MWJames
:
Depends on:
Blocks: 39480
  Show dependency treegraph
 
Reported: 2013-04-02 10:28 UTC by Pau Giner
Modified: 2013-04-22 16:15 UTC (History)
5 users (show)

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


Attachments

Description Pau Giner 2013-04-02 10:28:05 UTC
When accessing http://translatewiki.net/wiki/Translating:MediaWiki got the following error which makes the site unusable:

Unexpected non-MediaWiki exception encountered, of type "Exception"
exception 'Exception' with message 'Serialization of 'Closure' is not allowed' in /www/translatewiki.net/w/extensions/SemanticMediaWiki/includes/query/QueryData.php:106
Comment 1 MWJames 2013-04-02 11:03:11 UTC
I look into it but first I need to find out way serialize( $params ) is failing here because unit tests didn't show any anomaly.
Comment 2 MWJames 2013-04-02 11:20:12 UTC
I determined that {{Project map|MediaWiki translators}} causes the trouble in the meantime I disabled the template on that page until I  understand why

{{#ask:[[Category:{{{1}}}]][[Coordinates::+]]|?Coordinates
|limit=200
|height=500
}}{{addtomap}}

is causing trouble here.
Comment 3 MWJames 2013-04-02 13:43:02 UTC
Since I wasn't able to replicate the exception (which also means I can't get a unit test to cover the issue), I'd like to have a confirmation that [1] fixes the issue before merging it.

[1] https://gerrit.wikimedia.org/r/#/c/57064/
Comment 4 MWJames 2013-04-02 21:26:29 UTC
Tested earlier on tw and was merged with 1.9 master

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


Navigation
Links