Page MenuHomePhabricator

'wbeditentity' API requests throw exception due to invalid XML
Closed, ResolvedPublic

Description

Example from logs:

2013-07-15 17:39:02 mw1198 wikidatawiki: [5d761328] /w/api.php?action=wbeditentity&format=xml Exception from line 1699 of /usr/local/apache/common-local/php-1.22wmf9/includes/GlobalFunctions.php: Internal error in ApiFormatXml::recXmlPrint: (de, ...) has integer keys without _element value. Use ApiResult::setIndexedTagName().

Possibly related to change Ib954536e5:
https://gerrit.wikimedia.org/r/#/c/73322/1/repo/includes/api/EditEntity.php


Version: unspecified
Severity: major

Details

Reference
bz51376

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz51376.
bzimport added a subscriber: Unknown Object (MLST).
ori created this task.Jul 15 2013, 5:43 PM

Change 73962 had a related patch set uploaded by Tobias Gritschacher:
(bug 51376) Pass missing SerializationOptions

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

Change 73962 merged by jenkins-bot:
(bug 51376) Pass missing SerializationOptions

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

Change 73972 had a related patch set uploaded by Aude:
(bug 51376) Pass missing SerializationOptions

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

Change 73972 merged by Tobias Gritschacher:
(bug 51376) Pass missing SerializationOptions

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

Verified in Wikidata demo time July 27th