Last modified: 2013-11-12 16:23: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 T53493, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51493 - Fatal error in SnakSerializer
Fatal error in SnakSerializer
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-16 23:41 UTC by Aude
Modified: 2013-11-12 16:23 UTC (History)
3 users (show)

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


Attachments

Description Aude 2013-07-16 23:41:55 UTC
I apparently gave invalid input to wbsetreference and triggered a fatal error:

PHP fatal error in /usr/local/apache/common-local/php-1.22wmf10/extensions/Wikibase/lib/includes/serializers/SnakSerializer.php line 78: <br/> 
        Argument 1 passed to Wikibase\\Lib\\Serializers\\SnakSerializer::newFromSerialization() must be an array, string given, called in /usr/local/apache/common-local/php-1.22wmf10/extensions/Wikibase/repo/includes/api/SetReference.php on line 162 and defined

the api should handle this in a nicer way.
Comment 1 Gerrit Notification Bot 2013-07-17 03:08:16 UTC
Change 74109 had a related patch set uploaded by Aude:
(bug 51493) handle invalid json snak data in SetReference api module

https://gerrit.wikimedia.org/r/74109
Comment 2 Gerrit Notification Bot 2013-07-17 08:35:12 UTC
Change 74109 merged by jenkins-bot:
(bug 51493) handle invalid json snak data in SetReference api module

https://gerrit.wikimedia.org/r/74109
Comment 3 Henning 2013-10-28 14:45:13 UTC
I guess that is fixed then.

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


Navigation
Links