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

--- Comment #2 from Johannes Zarl-Zierl <johan...@zarl-zierl.at> ---
Git commit 8a6df8d7e3bfb92c86149bd233edfe15c1ecea55 by Johannes Zarl-Zierl.
Committed on 22/12/2019 at 00:12.
Pushed by johanneszarl into branch 'master'.

Try fixing tags with id=0

When tags with the invalid id "0" are encountered in the index.xml file,
KPhotoAlbum now tries to automatically fix them, if possible:

1. If only a single tag in a category has been assigned a zero id,
   a proper id is assigned.
2. If multiple tags in a category have been assigned a zero id,
   KPhotoAlbum can not know which tag was originally assigned to the
   image.
   In this case, the affected images are tagged with all possible tags
   plus a marker tag.

M  +20   -2    XMLDB/Database.cpp
M  +25   -1    XMLDB/FileReader.cpp
M  +13   -0    XMLDB/FileReader.h
M  +25   -5    XMLDB/XMLCategory.cpp
M  +20   -2    XMLDB/XMLCategory.h

https://commits.kde.org/kphotoalbum/8a6df8d7e3bfb92c86149bd233edfe15c1ecea55

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to