Last modified: 2013-11-12 16:31:01 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 T52654, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50654 - Wikibase\\SnakObject::newFromType got an array with too few constructor arguments
Wikibase\\SnakObject::newFromType got an array with too few constructor argum...
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-03 10:54 UTC by Addshore
Modified: 2013-11-12 16:31 UTC (History)
2 users (show)

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


Attachments

Description Addshore 2013-07-03 10:54:13 UTC
Exception Caught: Wikibase\\SnakObject::newFromType got an array with too few constructor arguments.

When a user tried to do

api.php?action=wbsetclaimvalue&format=json&claim=q703%24579D056C-280F-4BDF-958B-CD5E7E5EBF7B&value=O&snaktype=value&token=b4f0aa5839a7f79799f700494f080bbf%2B%5C&baserevid=42903666

Report can be seen @ http://www.wikidata.org/w/index.php?title=Wikidata:Contact_the_development_team&diff=53446631&oldid=53437599
Comment 1 Addshore 2013-11-05 12:01:40 UTC
This exact request now says

{
    "error": {
        "code": "invalid-snak",
        "info": "Could not decode snak value"
    }
}

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


Navigation
Links