[digikam] [Bug 325654] New: database migration: tags are not shown afterwards, because pid has wrong value

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 325654] New: database migration: tags are not shown afterwards, because pid has wrong value

Thomas Bleher
https://bugs.kde.org/show_bug.cgi?id=325654

            Bug ID: 325654
           Summary: database migration: tags are not shown afterwards,
                    because pid has wrong value
    Classification: Unclassified
           Product: digikam
           Version: 3.3.0
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Database
          Assignee: [hidden email]
          Reporter: [hidden email]

I recently migrated my digikam database from MySQL to SQLite. After the
migration, digikam didn't show any tags at all. Investigations showed that for
all tags that had no parent, the pid field in the Tags table was set to -1.
After manually setting the pid to 0 (via "update Tags set pid=0 where pid=-1"),
the tags showed correctly again. The pid was set to 0 in the original MySQL
database, so something incorrectly converts the value during migration.

Reproducible: Always

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 325654] MIGRATION: tags are not shown afterwards, because pid has wrong value

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=325654

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|database migration: tags    |MIGRATION: tags are not
                   |are not shown afterwards,   |shown afterwards, because
                   |because pid has wrong value |pid has wrong value
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 325654] MIGRATION : tags are not shown afterwards, because pid has wrong value

Gilles Caulier-4
In reply to this post by Thomas Bleher
https://bugs.kde.org/show_bug.cgi?id=325654

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|MIGRATION: tags are not     |MIGRATION : tags are not
                   |shown afterwards, because   |shown afterwards, because
                   |pid has wrong value         |pid has wrong value

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 325654] MIGRATION : tags are not shown afterwards, because pid has wrong value

Gilles Caulier-4
In reply to this post by Thomas Bleher
https://bugs.kde.org/show_bug.cgi?id=325654

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Gilles Caulier <[hidden email]> ---
*** Bug 301075 has been marked as a duplicate of this bug. ***

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 325654] MIGRATION : tags are not shown afterwards, because pid has wrong value

Gilles Caulier-4
In reply to this post by Thomas Bleher
https://bugs.kde.org/show_bug.cgi?id=325654

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Database                    |Database-Migration

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 325654] MIGRATION : tags are not shown afterwards, because pid has wrong value

bugzilla_noreply
In reply to this post by Thomas Bleher
https://bugs.kde.org/show_bug.cgi?id=325654

--- Comment #2 from [hidden email] ---
This file still valid using last digiKam 5.0.0 ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 325654] MIGRATION : tags are not shown afterwards, because pid has wrong value

bugzilla_noreply
In reply to this post by Thomas Bleher
https://bugs.kde.org/show_bug.cgi?id=325654

--- Comment #3 from Thomas Bleher <[hidden email]> ---
Sorry, at the moment I don't have time to update to digiKam 5.0.0 and set up
appropriate tests (still on digiKam 4.9.0).

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 325654] MIGRATION : tags are not shown afterwards, because pid has wrong value

bugzilla_noreply
In reply to this post by Thomas Bleher
https://bugs.kde.org/show_bug.cgi?id=325654

--- Comment #4 from [hidden email] ---
And with 4.9.0, the problem is reproducible ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 325654] MIGRATION : tags are not shown afterwards, because pid has wrong value

bugzilla_noreply
In reply to this post by Thomas Bleher
https://bugs.kde.org/show_bug.cgi?id=325654

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #5 from [hidden email] ---
Swati,

This file must be checked with migration tool when Mysql DB must be converted
to Sqlite.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel