Bug 181146

Summary: Source album {MY ALBUM NAME} not found in database
Product: [Applications] digikam Reporter: Valery Novikov <accessor>
Component: Database-AlbumsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 0.10.0

Description Valery Novikov 2009-01-18 09:27:35 UTC
Version:           0.10.0-beta8 (using Devel)
Compiler:          i686-pc-linux-gnu-4.1.2 
OS:                Linux
Installed from:    Compiled sources

Just try to move one album into another (using drag&drop).

Actual Result - after pressing "Move" button in popup menu - nothing happens. If you will retry - error dialog appears with following message:

Source album {MY ALBUM NAME} not found in database.
Were "{MY ALBUM NAME}" just name of album you try to move.

Expected result - album should be moved succesfully after first try.

Additional comment:
I suppose that digikam really moves album on disk after first try, but albums tree is not correctly updated.
Comment 1 caulier.gilles 2009-01-18 09:42:15 UTC
Can you try with current code from svn (rc1) where some fixes in this way have been done.

Gilles Caulier
Comment 2 Valery Novikov 2009-01-18 10:43:25 UTC
(In reply to comment #1)
> Can you try with current code from svn (rc1) where some fixes in this way have
> been done.
> 
> Gilles Caulier
> 

Thank you for quick reply!

Sorry, but currently i can't try fix from svn. I'll waiting for rc1 release (it should happens today as i know).
Comment 3 Marcel Wiesweg 2009-01-18 16:51:11 UTC
SVN commit 912984 by mwiesweg:

The method handling AlbumChangeset::Renamed was not aware that Renamed
can also mean that the album has been moved to a different parent.
In this case, remove the old album and call scanPAlbums.

BUG: 181146

 M  +19 -4     albummanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=912984