Page MenuHomePhabricator

Exception Caught: Internal error in ApiFormatXml::recXmlPrint: (en, ...) has integer keys without _element value. Use ApiResult::setIndexedTagName().
Closed, ResolvedPublic

Description

#0 \includes\api\ApiBase.php(1505): wfDebugDieBacktrace('Internal error ...')
#1 \includes\api\ApiFormatXml.php(163): ApiBase::dieDebug('ApiFormatXml::r...', '(en, ...) has i...')
#2 \includes\api\ApiFormatXml.php(178): ApiFormatXml::recXmlPrint('en', Array, 4)
#3 \includes\api\ApiFormatXml.php(178): ApiFormatXml::recXmlPrint('aliases', Array, 2)
#4 \includes\api\ApiFormatXml.php(178): ApiFormatXml::recXmlPrint('entity', Array, 0)
#5 \includes\api\ApiFormatXml.php(73): ApiFormatXml::recXmlPrint('api', Array, -2)
#6 \includes\api\ApiMain.php(984): ApiFormatXml->execute()
#7 \includes\api\ApiMain.php(851): ApiMain->printResult(false)
#8 \includes\api\ApiMain.php(380): ApiMain->executeAction()
#9 \includes\api\ApiMain.php(351): ApiMain->executeActionWithErrorHandling()
#10 \api.php(73): ApiMain->execute()
#11 {main}

Thrown when running

/api.php?action=wbsetaliases&id=q3&language=en&add=testalias&bot=1&summary=testsum


Version: unspecified
Severity: normal

Details

Reference
bz50676

Event Timeline

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

This will no longer be thrown as the json which stores aliases will no longer be stored with integer keys.

Verified in Wikidata demo July 31th.