Last modified: 2010-05-15 16:03:48 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 T15836, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13836 - internal_api_error_MWException on &iiprop=metadata with ogg files
internal_api_error_MWException on &iiprop=metadata with ogg files
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.13.x
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
http://en.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-24 20:42 UTC by Splarka
Modified: 2010-05-15 16:03 UTC (History)
3 users (show)

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


Attachments

Description Splarka 2008-04-24 20:42:19 UTC
Not rigorously tested, but seems to occur only with OGG files.

error 
 code="internal_api_error_MWException" 
 info="Exception Caught: Internal error in ApiFormatXml::recXmlPrint: (streams, ...) has integer keys without _element value. Use ApiResult::setIndexedTagName()."

 <Bryan> it is because the api uses unserialize(img_metadata) directly
 <Bryan> which won't work when you are having lists in combination with the xml printer
 <Bryan> you'll have to use setIndexedTagName or something like that
Comment 1 Roan Kattouw 2008-04-24 20:44:47 UTC
I'll be on this in the weekend.
Comment 2 Roan Kattouw 2008-04-26 14:42:21 UTC
Fixed in r33910, there was a &-sign missing somewhere.

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


Navigation
Links