https://bugzilla.wikimedia.org/show_bug.cgi?id=59876

       Web browser: ---
            Bug ID: 59876
           Summary: Still getting wikidata xml api exceptions
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: wikidata-b...@lists.wikimedia.org
          Reporter: aude.w...@gmail.com
                CC: wikidata-b...@lists.wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

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...')

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to