[Digikam-devel] [digikam] [Bug 337688] Reading/writing of keyword-tags to jpg and xmp corrupts tag hierarchy, duplicate root tag

Christian buitk14 at A1.net
Tue Jul 22 22:44:01 BST 2014


--- Comment #13 from Christian <buitk14 at A1.net> ---
Created attachment 87885
  --> https://bugs.kde.org/attachment.cgi?id=87885&action=edit

Please download the sample images from:

These images contained duplicate tags after I tried to add "StadtSchleining"
and "Heiligenbrunn" tags below:
_Digikam_root_tag_/Orte/Oesterreich/Burgenland/  to mark these images with a
new location.

"StadtSchleining" was duplicated 2 times below "Burgenland" and 2 times on the
top level. A single one of the included images was assigned to the duplicate
tags, while all other pics of the album remained tagged with the right keyword
on the right position. Why always just a few images? Maybe they where selected
in the GUI while I worked in the tag manager? I cant tell.
Tag "Heiligenbrunn" was duplicated 3 times under "Burgenland" - all tags
assigned to image DSC0448 in the second album, but no duplicate tags in the
first album.

I tried to remove the duplicated tags with the new tag manager in digikam -
after rereading the metadata from all images StadtSchleining was duplicated 5
times below "Burgenland", two times in a nested root tag below "Burgenland",
and no more on the toplevel (where other tags from other branches showed up) -
see first screenshot. "Heiligenbunn" was 4 times below "Burgenland" and also
several times below a second nested root tag.

You can import the old tag hierarchy from the image in album
"all_tag_categories_old_with_xmp". I lost the latest state of the hierarchy. It
was redesigned with hundreds of changes till a crash forced me to reread
metadata with the documented results.

Note: you have to delete all tags from database and import all metadata again
to see these effects. everything looks fine as long you do not import metadata.

You are receiving this mail because:
You are the assignee for the bug.

More information about the Digikam-devel mailing list