[digikam] [Bug 377249] New: Moving a photo to album in different collection deletes its folder

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

[digikam] [Bug 377249] New: Moving a photo to album in different collection deletes its folder

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=377249

            Bug ID: 377249
           Summary: Moving a photo to album in different collection
                    deletes its folder
           Product: digikam
           Version: 5.3.0
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: AlbumsView
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

As I started to use digikam on my notebook with limited disk space, I have
created more collections. One is local, the other one is on removable hard
drive. When I move a photo from local collection to an album on the collection
on the removable drive, it disappears. I use a MySQL DB backend. The album
referrence in DB becomes NULL.

Things to reproduce:
1. have a photo in an album in the local collection (if you search the photo in
DB now using something like SELECT * FROM `Images` WHERE `name` =
'photoname.jpg' - the album field will be filled with ID of the local album)
2. right click, Move to Album
3. select an album in the collection on the removable drive, OK

The photo is not in the original album anymore. And it is not in the target
album.

If I list contents of the target directory, I can clearly see that the image is
there.

If I run the query SELECT * FROM `Images` WHERE `name` = 'photoname.jpg' - the
album field is NULL

If I try to Refresh the target album, it finds no new photos, the target album
remains empty.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 377249] Moving a photo to album in different collection deletes its folder

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=377249

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|AlbumsView                  |Database-Mysql

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 377249] Moving a photo to album in different collection deletes its folder

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

Maik Qualmann <[hidden email]> changed:

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

--- Comment #1 from Maik Qualmann <[hidden email]> ---
I cannot reproduce this problem with an internal MySQL server. The image is
correctly moved to an external collection on a USB drive and appears in the
album.

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 377249] Moving a photo to album in different collection deletes its folder

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

--- Comment #2 from Robert V. <[hidden email]> ---
I have upgraded my Digikam installation to v5.5.0 from an unofficial ebuild and
I am unable to reproduce the issue anymore. Even the moved images that were
missing were now detected (but I have some invalid entries in the database -
the images with null album referrence from v5.3.0). Is there a DB cleanup
procedure? Is it safe to delete them?

Robert

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 377249] Moving a photo to album in different collection deletes its folder

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

--- Comment #3 from [hidden email] ---
yes 5.5.0 come with a DB cleanup tool in Maintenance dialog.

With 5.5.0 sqlite is supported.

For 5.6.0, Mysql will be supported.

Before to run it, just make a DB backup, to be sure.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 377249] Moving a photo to album in different collection deletes its folder

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

--- Comment #4 from [hidden email] ---
If you use Mysql, the first 5.6.0 AppImage for Linux is available here :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 377249] Moving a photo to album in different collection deletes its folder

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

--- Comment #5 from Robert V. <[hidden email]> ---
Now I Did reproduce it. Actually it happens only when moving to some AlbumRoot.
As I see it, it happens whenever I move an album to an AlbumRoot that has
identifier same as other AlbumRoot with lower ID. I attach a SQL dump, digikam
config and the Collections. If you move the test album from Photos_t to
Photos_ttt, it should disappear.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 377249] Moving a photo to album in different collection deletes its folder

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

--- Comment #6 from Robert V. <[hidden email]> ---
Created attachment 105396
  --> https://bugs.kde.org/attachment.cgi?id=105396&action=edit
Digikam 5.5.0 dump, albums, config

--
You are receiving this mail because:
You are the assignee for the bug.