[kphotoalbum] [Bug 415415] Renaming tag groups can produce tags with id=0

2020-01-11 Thread Johannes Zarl-Zierl
https://bugs.kde.org/show_bug.cgi?id=415415

Johannes Zarl-Zierl  changed:

   What|Removed |Added

   Version Fixed In||5.6
 Status|CONFIRMED   |RESOLVED
  Latest Commit|059b6934|https://commits.kde.org/kph
   ||otoalbum/522158ef7e8ac3642e
   ||374fe7ff5cebb5cf43a294
 Resolution|--- |FIXED

--- Comment #4 from Johannes Zarl-Zierl  ---
Git commit 522158ef7e8ac3642e374fe7ff5cebb5cf43a294 by Johannes Zarl-Zierl.
Committed on 12/01/2020 at 00:02.
Pushed by johanneszarl into branch 'master'.

Changelog for id=0 issue
FIXED-IN: 5.6

M  +5-0ChangeLog

https://commits.kde.org/kphotoalbum/522158ef7e8ac3642e374fe7ff5cebb5cf43a294

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

[kphotoalbum] [Bug 415415] Renaming tag groups can produce tags with id=0

2020-01-08 Thread Johannes Zarl-Zierl
https://bugs.kde.org/show_bug.cgi?id=415415

--- Comment #3 from Johannes Zarl-Zierl  ---
Git commit 93dd93f195c03d6cb4bcab0fce7357f6161fe7e9 by Johannes Zarl-Zierl.
Committed on 08/01/2020 at 21:59.
Pushed by johanneszarl into branch 'master'.

Display message when manual repair is needed

In addition to the log messages, display a GUI message when categories
with id=0 were found in the database and some of them could not be
repaired automatically (i.e. more than one tag with id=0 in the same
category).

M  +25   -1XMLDB/FileReader.cpp

https://commits.kde.org/kphotoalbum/93dd93f195c03d6cb4bcab0fce7357f6161fe7e9

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

[kphotoalbum] [Bug 415415] Renaming tag groups can produce tags with id=0

2019-12-21 Thread Johannes Zarl-Zierl
https://bugs.kde.org/show_bug.cgi?id=415415

--- Comment #2 from Johannes Zarl-Zierl  ---
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   -2XMLDB/Database.cpp
M  +25   -1XMLDB/FileReader.cpp
M  +13   -0XMLDB/FileReader.h
M  +25   -5XMLDB/XMLCategory.cpp
M  +20   -2XMLDB/XMLCategory.h

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

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

[kphotoalbum] [Bug 415415] Renaming tag groups can produce tags with id=0

2019-12-20 Thread Johannes Zarl-Zierl
https://bugs.kde.org/show_bug.cgi?id=415415

Johannes Zarl-Zierl  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #1 from Johannes Zarl-Zierl  ---
The root cause for this bug was fixed by commit 059b6934:
https://cgit.kde.org/kphotoalbum.git/commit/?id=059b6934fad3876ae8b2d1cfd8fc25e72698a584

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

[kphotoalbum] [Bug 415415] Renaming tag groups can produce tags with id=0

2019-12-20 Thread Johannes Zarl-Zierl
https://bugs.kde.org/show_bug.cgi?id=415415

Johannes Zarl-Zierl  changed:

   What|Removed |Added

  Latest Commit||059b6934

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