Last modified: 2014-11-20 15:47:58 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 T74652, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72652 - commonmetadata and extmetadata in imageinfo cannot handle deep arrays returned by File::getMetadata()
commonmetadata and extmetadata in imageinfo cannot handle deep arrays returne...
Status: PATCH_TO_REVIEW
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 71135
  Show dependency treegraph
 
Reported: 2014-10-28 23:28 UTC by Tisza Gergő
Modified: 2014-11-20 15:47 UTC (History)
6 users (show)

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


Attachments

Description Tisza Gergő 2014-10-28 23:28:35 UTC
The imageinfo/metadata API uses FormatMetadata::flattenArrayReal to handle metadata values which contain an array. commonmetadata and extmetadata don't use this and end up generating weird output.

Example:
http://commons.wikimedia.org/w/api.php?action=query&prop=imageinfo&format=jsonfm&iiprop=metadata|commonmetadata|extmetadata&iilimit=10&titles=File%3ABlack_Hawk_Down_Super64_over_Mogadishu_coast.jpg
Comment 1 Gerrit Notification Bot 2014-11-03 18:03:09 UTC
Change 170743 had a related patch set uploaded by Gilles:
Remove wrapper arrays coming from EXIF

https://gerrit.wikimedia.org/r/170743
Comment 2 Gerrit Notification Bot 2014-11-12 19:41:05 UTC
Change 172798 had a related patch set uploaded by Gergő Tisza:
FormatMetadata::fetchExtendedMetadata: Ignore multiple EXIF/XMP values

https://gerrit.wikimedia.org/r/172798
Comment 3 Gerrit Notification Bot 2014-11-20 15:42:34 UTC
Change 170743 abandoned by Gilles:
Remove wrapper arrays coming from EXIF

https://gerrit.wikimedia.org/r/170743
Comment 4 Gerrit Notification Bot 2014-11-20 15:47:58 UTC
Change 172798 merged by jenkins-bot:
FormatMetadata::fetchExtendedMetadata: Ignore multiple EXIF/XMP values

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

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


Navigation
Links