Last modified: 2014-07-16 10:42:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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