Last modified: 2014-07-16 10:42:38 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 T68181, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66181 - Wikibase: Fix "Internal error in ApiFormatXml::recXmlPrint: (sitelinks, ...) has integer keys without _element value."
Wikibase: Fix "Internal error in ApiFormatXml::recXmlPrint: (sitelinks, ...) ...
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks: code_quality
  Show dependency treegraph
 
Reported: 2014-06-05 10:47 UTC by Krinkle
Modified: 2014-07-16 10:42 UTC (History)
3 users (show)

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


Attachments

Description Krinkle 2014-06-05 10:47:31 UTC
http://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q42&sitefilter=viwiki

  <error code="internal_api_error_MWException" info="Exception Caught: Internal error in ApiFormatXml::recXmlPrint: (sitelinks, ...) has integer keys without _element value. Use ApiResult::setIndexedTagName()." xml:space="preserve" />

/usr/local/apache/common-local/php-1.24wmf7/includes/api/ApiFormatXml.php
/usr/local/apache/common-local/php-1.24wmf7/includes/api/ApiMain.php
/usr/local/apache/common-local/php-1.24wmf7/api.php
Comment 1 Thiemo Mättig 2014-06-05 10:53:59 UTC
I checked https://www.wikidata.org/wiki/Special:EntityData/Q42.json and can't see a problem there.

Note that it doesn't fail without the sitefilter=... option. I had a quick look at the code and couldn't find an obvious problem other than the option missing any test.
Comment 2 Gerrit Notification Bot 2014-06-05 11:51:21 UTC
Change 137557 had a related patch set uploaded by Thiemo Mättig (WMDE):
Fix wbgetentities sitefilter

https://gerrit.wikimedia.org/r/137557
Comment 3 Gerrit Notification Bot 2014-06-05 15:28:42 UTC
Change 137557 merged by jenkins-bot:
Fix wbgetentities with sitefilter=... option

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

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


Navigation
Links