Last modified: 2013-08-22 14:27:57 UTC
2013-03-07 23:29:13 mw1198 enwiki: [444c0bee] /w/api.php?action=centralnoticequerycampaign Exception from line 1760 of /usr/local/apache/common-local/php-1.21wmf10/includes/GlobalFunctions.php: Internal error in ApiFormatXml::recXmlPrint: (centralnoticequerycampaign, ...) has integer keys without _element value. Use ApiResult::setIndexedTagName(). #0 /usr/local/apache/common-local/php-1.21wmf10/includes/api/ApiBase.php(1421): wfDebugDieBacktrace('Internal error ...') #1 /usr/local/apache/common-local/php-1.21wmf10/includes/api/ApiFormatXml.php(175): ApiBase::dieDebug('ApiFormatXml::r...', '(centralnoticeq...') #2 /usr/local/apache/common-local/php-1.21wmf10/includes/api/ApiFormatXml.php(190): ApiFormatXml::recXmlPrint('centralnoticequ...', Array, 0) #3 /usr/local/apache/common-local/php-1.21wmf10/includes/api/ApiFormatXml.php(76): ApiFormatXml::recXmlPrint('api', Array, -2, false) #4 /usr/local/apache/common-local/php-1.21wmf10/includes/api/ApiMain.php(956): ApiFormatXml->execute() #5 /usr/local/apache/common-local/php-1.21wmf10/includes/api/ApiMain.php(845): ApiMain->printResult(false) #6 /usr/local/apache/common-local/php-1.21wmf10/includes/api/ApiMain.php(373): ApiMain->executeAction() #7 /usr/local/apache/common-local/php-1.21wmf10/includes/api/ApiMain.php(350): ApiMain->executeActionWithErrorHandling() #8 /usr/local/apache/common-local/php-1.21wmf10/api.php(77): ApiMain->execute() #9 /usr/local/apache/common-local/live-1.5/api.php(3): require('/usr/local/apac...')
I hate this bug -- and who in the heck is using the API in XML!? But; ya, I probably should figure out why the API hates the array format I'm giving it.
(In reply to comment #1) > I hate this bug -- and who in the heck is using the API in XML!? But; ya, I > probably should figure out why the API hates the array format I'm giving it. XML4LYF. If you can reproduce it and show us what the structure is, chances are someone can probably point you in the right direction. Usually something trivial
Oh yes; it's very reproducible. It also seems to have a saner error message than I recall from last time. https://gerrit.wikimedia.org/r/52763
Patch got merged, is this fixed?
It got deployed, and I just tested it; so yes.