XMP IPTC Creator metadata written to wrong property

Bug #1266289 reported by Alan Pater
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
digikam (Ubuntu)
Fix Released
Undecided
Alan Pater

Bug Description

1) In digikam, select an image and go to Image > Metadata > Edit all metdata > Edit XMP > Credits:Contact.

2) Fill in the fields, such as City. Apply, close the metadata editor, go to Image > Write metadata to image.
        Digikam uses exiv2 to write the metadata properties.

3) Check which XMP properties where written using the exiv2 command line tool.

$ exiv2 -px image.jpg | grep City
Xmp.iptc.CiAdrCity XmpText 13 Vancouver

4) Write equivalent property using exiftool: exiftool -ContactCity=Vancouver image.jpg

5) Confirm which property was written using exiv2 command line.

$ exiv2 -px image.jpg | grep City
Xmp.iptc.CiAdrCity XmpText 13 Vancouver
Xmp.iptc.CreatorContactInfo/Iptc4xmpCore:CiAdrCity XmpText 9 Vancouver

Digikam has written the wrong property. According to the XMP schema, Creator Contact properties are nested under Creator Contact Info, not at the root level themselves. Exiftool has written the correct form of this property. Digikam/exiv2 have not.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: kipi-plugins 4:3.4.0-1ubuntu3
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic i686
ApportVersion: 2.12.5-0ubuntu2
Architecture: i386
Date: Sun Jan 5 16:55:14 2014
InstallationDate: Installed on 2013-12-08 (28 days ago)
InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Release i386 (20131016.1)
MarkForUpload: True
SourcePackage: digikam
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alan Pater (alan-pater) wrote :
Revision history for this message
Alan Pater (alan-pater) wrote :
Revision history for this message
Alan Pater (alan-pater) wrote :

There is a version of kipi-plugins with a fix for this on my ppa: https://launchpad.net/~alan-pater/+archive/dwc

If someone wants to test it on their system and let me know if their are any problems, please go ahead.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "xmpcredits.cpp with changes" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Alan Pater (alan-pater) wrote :
Revision history for this message
Harald Sitter (apachelogger) wrote :

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE program itself, and not with our KDE packages. While we appreciate your issue, it would be better if it was tracked at https://bugs.kde.org, so that the KDE developers can deal with this speedily and have direct communication with you as the reporter for more effective debugging.

Thanks!

no longer affects: exiv2 (Ubuntu)
no longer affects: kipi-plugins (Ubuntu)
Changed in digikam (Ubuntu):
status: New → Invalid
Alan Pater (alan-pater)
Changed in digikam (Ubuntu):
assignee: nobody → Alan Pater (alan-pater)
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.