Summary: | [PATCH] digikam does not get UUID for disk devices inside LVM | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Matthieu Pupat <kde> |
Component: | Database-Media | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 2.0.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.0.0 | |
Sentry Crash Report: | |||
Bug Depends on: | |||
Bug Blocks: | 271591 | ||
Attachments: | patch |
Description
Matthieu Pupat
2011-05-15 22:33:59 UTC
Created attachment 60046 [details]
patch
the problems comes from drives under LVM not being Drives and having UDisks as parent which mean they do not belong to a drive either.
I do not know if it is an issue with solid-hardware or if this is digikam assuming something it should not (i.e. each volume will have a drive as aparent at some point).
Attached is a patch that fixes the issue in 1.9.0 and works fine for me.
Thanks Matthieu for your patch. It can be applied to 2.0.0 as well, but need some tune i think. Marcel ? Gilles Caulier Git commit f55e24a8fbd519cfffa6509abc1ef3f109559f94 by Marcel Wiesweg. Committed on 17/05/2011 at 21:45. Pushed by mwiesweg into branch 'master'. Apply patch by Matthieu Pupat. We strictly need the drive device only to find out if it is removable/hotpluggable, and I see the point that logical volumes may not have a clear parent. BUG: 273369 M +2 -1 NEWS M +13 -1 libs/database/collectionmanager.cpp http://commits.kde.org/digikam/f55e24a8fbd519cfffa6509abc1ef3f109559f94 *** Bug 271591 has been marked as a duplicate of this bug. *** |