[KPhotoAlbum] Keywords with id=0?

Robert Krawitz rlk at alum.mit.edu
Sun Dec 15 02:44:48 GMT 2019


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.
-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

***  MIT Engineers   A Proud Tradition   http://mitathletics.com  ***
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton



More information about the Kphotoalbum mailing list