Last modified: 2013-08-22 14:27:57 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 T47884, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45884 - CentralNotice: Internal error in ApiFormatXml::recXmlPrint: (centralnoticequerycampaign, ...) has integer keys without _element value.
CentralNotice: Internal error in ApiFormatXml::recXmlPrint: (centralnoticeque...
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CentralNotice (Other open bugs)
master
All All
: High normal (vote)
: ---
Assigned To: Matt Walker
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-08 04:08 UTC by Sam Reed (reedy)
Modified: 2013-08-22 14:27 UTC (History)
4 users (show)

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


Attachments

Description Sam Reed (reedy) 2013-03-08 04:08:22 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...')
Comment 1 Matt Walker 2013-03-08 04:16:21 UTC
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.
Comment 2 Sam Reed (reedy) 2013-03-08 04:18:19 UTC
(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
Comment 3 Matt Walker 2013-03-08 05:47:36 UTC
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
Comment 4 Andre Klapper 2013-03-15 16:50:04 UTC
Patch got merged, is this fixed?
Comment 5 Matt Walker 2013-03-15 18:51:56 UTC
It got deployed, and I just tested it; so yes.

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


Navigation
Links