Last modified: 2014-09-18 11:10:14 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 T72299, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70299 - ApiFormatXml::recXmlPrint: has integer keys without _element in wbeditentity api module
ApiFormatXml::recXmlPrint: has integer keys without _element in wbeditentity ...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High normal with 1 vote (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=5 s=2014-09-09
:
: 70854 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-02 19:24 UTC by Aude
Modified: 2014-09-18 11:10 UTC (History)
5 users (show)

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


Attachments

Description Aude 2014-09-02 19:24:23 UTC
/w/api.php?action=wbeditentity&format=xml   Exception from line 1817 of /usr/local/apache/common-local/php-1.24wmf19/includes/api/ApiBase.php: Internal error in ApiFormatXml::recXmlPrint: has integer keys without _element value. Use ApiResult::setIndexedTagName().
#0 /usr/local/apache/common-local/php-1.24wmf19/includes/api/ApiFormatXml.php(180): ApiBase::dieDebug('ApiFormatXml::r...', '(P225, ...) has...')
#1 /usr/local/apache/common-local/php-1.24wmf19/includes/api/ApiFormatXml.php(195): ApiFormatXml::recXmlPrint('P225', Array, NULL)
#2 /usr/local/apache/common-local/php-1.24wmf19/includes/api/ApiFormatXml.php(195): ApiFormatXml::recXmlPrint('claims', Array, NULL)
#3 /usr/local/apache/common-local/php-1.24wmf19/includes/api/ApiFormatXml.php(195): ApiFormatXml::recXmlPrint('entity', Array, NULL)
#4 /usr/local/apache/common-local/php-1.24wmf19/includes/api/ApiFormatXml.php(73): ApiFormatXml::recXmlPrint('api', Array, NULL)
#5 /usr/local/apache/common-local/php-1.24wmf19/includes/api/ApiMain.php(1094): ApiFormatXml->execute()
#6 /usr/local/apache/common-local/php-1.24wmf19/includes/api/ApiMain.php(940): ApiMain->printResult(false)
#7 /usr/local/apache/common-local/php-1.24wmf19/includes/api/ApiMain.php(363): ApiMain->executeAction()
#8 /usr/local/apache/common-local/php-1.24wmf19/includes/api/ApiMain.php(334): ApiMain->executeActionWithErrorHandling()
#9 /usr/local/apache/common-local/php-1.24wmf19/api.php(85): ApiMain->execute()
#10 /usr/local/apache/common-local/w/api.php(3): require('/usr/local/apac...')
Comment 1 Aude 2014-09-03 12:26:28 UTC
also happens in wbgetclaims

http://www.wikidata.org/w/api.php?action=wbgetclaims&entity=Q17679451&format=xml

as reported in contact the development team page and there is other weirdness

https://www.wikidata.org/wiki/Wikidata:Contact_the_development_team#XML-Serialization
Comment 2 Aude 2014-09-15 17:28:24 UTC
*** Bug 70854 has been marked as a duplicate of this bug. ***

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


Navigation
Links