[Digikam-devel] [Bug 188709] Tag hierarchy not properly restored from files (IPTC)

Christian Häne christian.haene at gmx.ch
Wed Apr 22 09:02:30 BST 2009


https://bugs.kde.org/show_bug.cgi?id=188709


Christian Häne <christian.haene at gmx.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christian.haene at gmx.ch




--- Comment #3 from Christian Häne <christian haene gmx ch>  2009-04-22 10:02:26 ---
I can confirm the reported behaviour. I tested this with the current trunk
version (r957440).
I imported a folder of about 1'500 pictures they all had correct xmp data and
corrupted iptc data and i also got some tags duplicated in the way it was
reported. But interestingly not all tags got duplicated.

What i did exactly with the pictures:
The pictures where originally taged with digikam 0.9.4 and then the xmp data
was added with digikam 0.10.0. Adding xmp data i did with the synchonize images
with db feature of digikam 0.10.0. Running this synchronization the iptc tags
got corrupted. Before the synchronization they all had only the
"/Node1/Node2/Leaf" strings in the keywords field of iptc. But after the
synchronization the had all "/Node1/Node2/Leaf Leaf" in the iptc.
Then i imported this pictures into the current trunk digikam 0.11r957440. And
then the tag duplication happend.
After this i rerun synchronize images with db and then something really strange
happend to the iptc keyword field. The "/Node1/Node2/Leaf Leaf" string got
duplicated in the iptc field and now i have "/Node1/Node2/Leaf Leaf
/Node1/Node2/Leaf Leaf" in the iptc field.

In my opinion there are 2 bugs combined in this bug report.
First bug: The tags are not created correctly from xmp. When importing new
pictures that have xmp and iptc data.
Second bug: IPTC keyword field gets corrupted. In my opinion only the
/Node1/Node2/Leaf version should be saved in the iptc. I can't see any benefit
in saving only Leaf in the IPTC data. The reason why i don't think it is good
to save Leaf in the IPTC is because here something is produced that the user
never entered into the system. In my opinon the synchonizer should remove any
content that was in the keyword field before and should only save the correct
representation of the tags.

If you have any questions to my comment please ask.

Christian

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Digikam-devel mailing list