Last modified: 2014-01-22 15:54:23 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 T61876, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59876 - Still getting wikidata xml api exceptions
Still getting wikidata xml api exceptions
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-09 19:38 UTC by Aude
Modified: 2014-01-22 15:54 UTC (History)
2 users (show)

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


Attachments

Description Aude 2014-01-09 19:38:31 UTC
we are still getting quite a bit of exceptions for xml format in the api.

I thought there was already a bug for this but can't find it.

It might make sense to backport and deploy https://gerrit.wikimedia.org/r/#/c/102466/ (which also requires https://gerrit.wikimedia.org/r/#/c/98099/ cherry picked)

/w/api.php?action=wbsetreference&format=xml   Exception from line 1963 of /usr/local/apache/common-local/php-1.23wmf9/includes/api/ApiBase.php: Internal error in ApiFormatXml::recXmlPrint: (P248, ...) has integer keys without _element value. Use ApiResult::setIndexedTagName().
#0 /usr/local/apache/common-local/php-1.23wmf9/includes/api/ApiFormatXml.php(164): ApiBase::dieDebug('ApiFormatXml::r...', '(P248, ...) has...')
#1 /usr/local/apache/common-local/php-1.23wmf9/includes/api/ApiFormatXml.php(179): ApiFormatXml::recXmlPrint('P248', Array, NULL)
#2 /usr/local/apache/common-local/php-1.23wmf9/includes/api/ApiFormatXml.php(179): ApiFormatXml::recXmlPrint('snaks', Array, NULL)
#3 /usr/local/apache/common-local/php-1.23wmf9/includes/api/ApiFormatXml.php(179): ApiFormatXml::recXmlPrint('reference', Array, NULL)
#4 /usr/local/apache/common-local/php-1.23wmf9/includes/api/ApiFormatXml.php(73): ApiFormatXml::recXmlPrint('api', Array, NULL)
#5 /usr/local/apache/common-local/php-1.23wmf9/includes/api/ApiMain.php(1011): ApiFormatXml->execute()
#6 /usr/local/apache/common-local/php-1.23wmf9/includes/api/ApiMain.php(873): ApiMain->printResult(false)
#7 /usr/local/apache/common-local/php-1.23wmf9/includes/api/ApiMain.php(387): ApiMain->executeAction()
#8 /usr/local/apache/common-local/php-1.23wmf9/includes/api/ApiMain.php(358): ApiMain->executeActionWithErrorHandling()
#9 /usr/local/apache/common-local/php-1.23wmf9/api.php(76): ApiMain->execute()
#10 /usr/local/apache/common-local/w/api.php(3): require('/usr/local/apac...')
Comment 1 Gerrit Notification Bot 2014-01-09 20:02:02 UTC
Change 106565 had a related patch set uploaded by Aude:
Make ResultBuilder's "indexed mode" work consistently.

https://gerrit.wikimedia.org/r/106565
Comment 2 Gerrit Notification Bot 2014-01-10 17:46:31 UTC
Change 106565 merged by jenkins-bot:
Make ResultBuilder's "indexed mode" work consistently.

https://gerrit.wikimedia.org/r/106565
Comment 3 Gerrit Notification Bot 2014-01-14 14:59:52 UTC
Change 107375 had a related patch set uploaded by Aude:
Update Wikibase, fix for xml api exceptions

https://gerrit.wikimedia.org/r/107375
Comment 4 Gerrit Notification Bot 2014-01-14 19:03:33 UTC
Change 107375 merged by Reedy:
Update Wikibase, fix for xml api exceptions

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

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


Navigation
Links