Bug 282088 - Missing entries in tag list
Summary: Missing entries in tag list
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Mysql (show other bugs)
Version: 2.1.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-15 15:15 UTC by Siggi
Modified: 2017-07-25 18:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Siggi 2011-09-15 15:15:07 UTC
Version:           2.1.0 (using KDE 4.7.1) 
OS:                Linux

In the tag list there are some missing entries. The missing entries are in the TAG database and have the id less than 10 (id 0 to 9). Also the child tags are missing in the list.

digikam recognize the missing tags, because if one tries to insert a tag with the missing name, the message "tag exist" appears.

Example: Tag Familiy with id 1 is missing in the list.

Reproducible: Always

Steps to Reproduce:
restart digikam

Actual Results:  
Missing entries in list

Expected Results:  
Missing entries are again visible

OS: Linux (x86_64) release 2.6.38-gentoo-r6
Compiler: x86_64-pc-linux-gnu-gcc
Comment 1 Marcel Wiesweg 2011-09-15 17:09:27 UTC
No such problems can be seen here. When did the tags disappear?
Any tag properties associated?
SELECT * FROM TagProperties WHERE tagId < 10;
Comment 2 Siggi 2011-09-16 06:59:30 UTC
(In reply to comment #1)
> No such problems can be seen here. When did the tags disappear?

The problem disappears with the upgrade to 2.1

> Any tag properties associated?
> SELECT * FROM TagProperties WHERE tagId < 10;

This gives me:
mysql> SELECT * FROM TagProperties WHERE tagId < 10;
+-------+-------------+-------+
| tagid | property    | value |
+-------+-------------+-------+
|     1 | internalTag | NULL  |
|     2 | internalTag | NULL  |
|     3 | internalTag | NULL  |
|     4 | internalTag | NULL  |
|     5 | internalTag | NULL  |
|     6 | internalTag | NULL  |
|     7 | internalTag | NULL  |
+-------+-------------+-------+

These are the missing tags.

Deleting these entries gives back the missing tags :-) Don't know when I've changed these entries in the past.
Comment 3 Siggi 2011-09-16 07:01:10 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > No such problems can be seen here. When did the tags disappear?
> 
> The problem disappears with the upgrade to 2.1

Sorry, I mean the tags disappered ....