Page MenuHomePhabricator

ApiFormatXml::recXmlPrint: has integer keys without _element in wbeditentity api module
Closed, ResolvedPublic

Description

/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...')


Version: unspecified
Severity: normal
Whiteboard: u=dev c=backend p=5 s=2014-09-09

Details

Reference
bz70299

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:42 AM
bzimport set Reference to bz70299.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 70854 has been marked as a duplicate of this bug. ***