Page MenuHomePhabricator

Internal error in ApiFormatXml::recXmlPrint
Closed, ResolvedPublic

Description

/wiki/Special:EntityData/Q273.xml Exception from line 1984 of /usr/local/apache/common-local/php-1.23wmf12/includes/api/ApiBase.php: Internal error in ApiFormatXml::recXmlPrint: (P65, ...) has integer keys without _element value. Use ApiResult::setIndexedTagName().
#0 /usr/local/apache/common-local/php-1.23wmf12/includes/api/ApiFormatXml.php(164): ApiBase::dieDebug('ApiFormatXml::r...', '(P65, ...) has ...')
#1 /usr/local/apache/common-local/php-1.23wmf12/includes/api/ApiFormatXml.php(179): ApiFormatXml::recXmlPrint('P65', Array, NULL)
#2 /usr/local/apache/common-local/php-1.23wmf12/includes/api/ApiFormatXml.php(179): ApiFormatXml::recXmlPrint('claims', Array, NULL)
#3 /usr/local/apache/common-local/php-1.23wmf12/includes/api/ApiFormatXml.php(183): ApiFormatXml::recXmlPrint('entity', Array, NULL)
#4 /usr/local/apache/common-local/php-1.23wmf12/includes/api/ApiFormatXml.php(179): ApiFormatXml::recXmlPrint('entities', Array, NULL)
#5 /usr/local/apache/common-local/php-1.23wmf12/includes/api/ApiFormatXml.php(73): ApiFormatXml::recXmlPrint('entity', Array, NULL)
#6 /usr/local/apache/common-local/php-1.23wmf12/extensions/Wikidata/extensions/Wikibase/repo/includes/LinkedData/EntityDataSerializationService.php(567): ApiFormatXml->execute()
#7 /usr/local/apache/common-local/php-1.23wmf12/extensions/Wikidata/extensions/Wikibase/repo/includes/LinkedData/EntityDataSerializationService.php(370): Wikibase\LinkedData\EntityDataSerializationService->apiSerialize(Object(Wikibase\EntityRevision), Object(ApiFormatXml))
#8 /usr/local/apache/common-local/php-1.23wmf12/extensions/Wikidata/extensions/Wikibase/repo/includes/LinkedData/EntityDataRequestHandler.php(364): Wikibase\LinkedData\EntityDataSerializationService->getSerializedData('xml', Object(Wikibase\EntityRevision))
#9 /usr/local/apache/common-local/php-1.23wmf12/extensions/Wikidata/extensions/Wikibase/repo/includes/LinkedData/EntityDataRequestHandler.php(229): Wikibase\LinkedData\EntityDataRequestHandler->showData(Object(WebRequest), Object(OutputPage), 'xml', Object(Wikibase\DataModel\Entity\ItemId), 0)
#10 /usr/local/apache/common-local/php-1.23wmf12/extensions/Wikidata/extensions/Wikibase/repo/includes/specials/SpecialEntityData.php(156): Wikibase\LinkedData\EntityDataRequestHandler->handleRequest('Q273.xml', Object(WebRequest), Object(OutputPage))
#11 /usr/local/apache/common-local/php-1.23wmf12/includes/specialpage/SpecialPage.php(374): Wikibase\Repo\Specials\SpecialEntityData->execute('Q273.xml')
#12 /usr/local/apache/common-local/php-1.23wmf12/includes/specialpage/SpecialPageFactory.php(492): SpecialPage->run('Q273.xml')
#13 /usr/local/apache/common-local/php-1.23wmf12/includes/Wiki.php(285): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#14 /usr/local/apache/common-local/php-1.23wmf12/includes/Wiki.php(586): MediaWiki->performRequest()
#15 /usr/local/apache/common-local/php-1.23wmf12/includes/Wiki.php(447): MediaWiki->main()
#16 /usr/local/apache/common-local/php-1.23wmf12/index.php(49): MediaWiki->run()
#17 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')


Version: master
Severity: normal

Details

Reference
bz60636

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:57 AM
bzimport set Reference to bz60636.
bzimport added a subscriber: Unknown Object (MLST).

Change 110442 had a related patch set uploaded by Hoo man:
Fix Special:EntityData XML view

https://gerrit.wikimedia.org/r/110442

Change 110442 merged by jenkins-bot:
Fix Special:EntityData XML view

https://gerrit.wikimedia.org/r/110442

Change 110445 had a related patch set uploaded by Addshore:
Fix Special:EntityData XML view

https://gerrit.wikimedia.org/r/110445

Change 110445 merged by jenkins-bot:
Fix Special:EntityData XML view

https://gerrit.wikimedia.org/r/110445

Change 110448 had a related patch set uploaded by Aude:
update wikibase, fix entity data xml output

https://gerrit.wikimedia.org/r/110448

Change 110448 merged by Addshore:
update wikibase, fix entity data xml output

https://gerrit.wikimedia.org/r/110448

Change 110449 had a related patch set uploaded by Aude:
update wikibase, fix entity data xml output

https://gerrit.wikimedia.org/r/110449

Change 110449 merged by Addshore:
update wikibase, fix entity data xml output

https://gerrit.wikimedia.org/r/110449