https://bugzilla.wikimedia.org/show_bug.cgi?id=44542
Web browser: ---
Bug ID: 44542
Summary: editing/adding references via API is broken
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
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
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l