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

Veaceslav Munteanu veaceslav.munteanu90 at gmail.com
Thu Jul 24 14:21:13 BST 2014


Veaceslav Munteanu <veaceslav.munteanu90 at gmail.com> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #26 from Veaceslav Munteanu <veaceslav.munteanu90 at gmail.com> ---
The original problems are from _Digikam_root_tag_, which I added extra checks.

every occurrence of it will be deleted, so it doesn't matter if it is one
_Digikam_root_tag_ or 5 of them. 

The nested root tags I discovered in your metadata, some images contained:

_Digikam_root_tag_/_Digikam_root_tag_, probably old bugs...

The check I applied to both parts where digiKam read tags and where digiKam
write tags, clean-up can be done using any metadata writing option:

1. Write metadata
2. Maintenance tool
3. Tags Manager sync export options

Please note: if your tags database is empty and you trigger write, all metadata
from images will be cleared. Do not forget to read them before writing.

Also, about duplicate tags on the same level, digiKam do not allow me to make
them, even re-read do not reveal anything suspicious.

Only a corrupt database can contain this, use new one(when testing my fixes).

Also I tested the tag move to different sub-tree and it works, all tags are
correctly written and read.

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

More information about the Digikam-devel mailing list