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

            Bug ID: 64777
           Summary: Internal error in ApiFormatXml::recXmlPrint: (errors,
                    ...) has integer keys without _element value.
           Product: MediaWiki
           Version: 1.20.x
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Unprioritized
         Component: API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

Got this exception while using the api.  Never saw it before and don't know
what caused it.  Does not happen with other same api calls with different
values.  I suspect it has something to do with the page title but not sure.

API call:

http://wiki-internal/wiki/api.php?action=sfautoedit&form=SusDataForm&target=SusData%3ADOESN%27T%20TRIGGER%20A%20FOURTH%20AMENDMENT%20REVIEW&query=SusData:CheckStatusTemplate[susCheckStatus]=PENDING%26SusData:CheckStatusTemplate[urlCheckStatus]=PENDING&format=xml

Result:

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

#0 /usr/local/errata/wiki/includes/api/ApiBase.php(1420):
wfDebugDieBacktrace('Internal error ...')
#1 /usr/local/errata/wiki/includes/api/ApiFormatXml.php(179):
ApiBase::dieDebug('ApiFormatXml::r...', '(errors, ...) h...')
#2 /usr/local/errata/wiki/includes/api/ApiFormatXml.php(194):
ApiFormatXml::recXmlPrint('errors', Array, NULL)
#3 /usr/local/errata/wiki/includes/api/ApiFormatXml.php(80):
ApiFormatXml::recXmlPrint('api', Array, NULL, false)
#4 /usr/local/errata/wiki/includes/api/ApiMain.php(847):
ApiFormatXml-&gt;execute()
#5 /usr/local/errata/wiki/includes/api/ApiMain.php(823):
ApiMain-&gt;printResult(false)
#6 /usr/local/errata/wiki/includes/api/ApiMain.php(369):
ApiMain-&gt;executeAction()
#7 /usr/local/errata/wiki/includes/api/ApiMain.php(347):
ApiMain-&gt;executeActionWithErrorHandling()
#8 /usr/local/errata/wiki/api.php(78): ApiMain-&gt;execute()
#9 {main}

</error></api>

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

Reply via email to