[KPhotoAlbum] Keywords with id=0?
tobias.leupold at gmx.de
Sun Dec 15 09:17:34 GMT 2019
Okay. After being able to reproduce this and reading the code for quite a long
time, I must admit that I have no idea how or why this happens. Maybe somebody
with more clue about KPA's internals has? Johannes?!
Am Sonntag, 15. Dezember 2019, 03:44:48 CET schrieb Robert Krawitz:
> On Sun, 15 Dec 2019 00:46:26 +0100, Johannes Zarl-Zierl wrote:
> > So, two questions arise:
> > - What is the cause for the bug?
> I've found a reproducer:
> 1) Create a new tag group under under an existing tag group. For
> example, with the demo database, create a tag group named "dk"
> under Places->Denmark.
> 2) Rename said tag group.
> 3) Save. The new group will have ID 0, accompanied by this message:
> kphotoalbum.XMLDB: Member "dk1" in group "Places" -> "Denmark" has
> no id!
> Note that renaming an existing tag group, or creating one at top level
> (e. g. under Places) does not trigger this.
More information about the Kphotoalbum