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

Lukáš Karas <lukas.ka...@centrum.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED

--- Comment #6 from Lukáš Karas <lukas.ka...@centrum.cz> ---
I found it. Problem comes from the moment when I replaced my notebook and
manually updated drive UUID and path in "AlbumRoots" table. And I keep trailing
slash in the path: "/home/karry/data/fotky/". Everything seemed be fine except
collection scanning...

When you look carefully to "albumRootPath" method - in current master here:
https://cgit.kde.org/digikam.git/tree/core/libs/database/collection/collectionmanager_album.cpp#n93

there is fix for the launchpad bug #221155 that adds slash to the "rootPath"
and in my case check if "/root/album" starts with "/root//"...

I was able to fix my mistake with this knowledge and make scanning functional
again. Question is if "albumRootPath" should be more robust?  I saw similar
pattern on multiple places, I will try to send a patch...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to