Last modified: 2013-02-06 16:25:27 UTC
Adding a reference to a Statement will only work if the Statement has no references yet. When editing an existing reference or when adding a second reference, the API will return an error (this one in case of editing an existing one with 'wbsetreference'): Warning: assert() [function.assert]: Assertion failed in D:\Wikidata\gerrit.wikimedia.org\extensions\Wikibase\lib\includes\claim\Claims.php on line 200 Warning: assert() [function.assert]: Assertion failed in D:\Wikidata\gerrit.wikimedia.org\extensions\Wikibase\lib\includes\claim\Claims.php on line 228 Fatal error: Call to a member function getGuid() on a non-object in D:\Wikidata\gerrit.wikimedia.org\extensions\Wikibase\lib\includes\claim\Claims.php on line 230
Fixed by I9b144f3d. merged.
Verified in Wikidata demo sprint 31