| Summary: | can't move images between folders | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Nadav Kavalerchik <nadavkav> |
| Component: | Database-Albums | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles |
| Priority: | NOR | ||
| Version First Reported In: | 0.7.3 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 5.7.0 | |
| Sentry Crash Report: | |||
|
Description
Nadav Kavalerchik
2005-05-08 19:34:01 UTC
are you, by any chance, using symlinks to link folders/files into the digikam album library path? yee :-) SVN commit 412383 by pahlibar:
CCBUGS: 105303
give a more detailed info if user uses symlinks to external files/folders
in the album library path and then tries to move it. I'm not going to work
on this in the trunk (0.7.x series). The file copy/move kioslave will undergo
a rewrite in the experimental branch to work well with kio::jobs and if
necessary will be backported
M +16 -4 trunk/extragear/graphics/digikam/kioslave/digikamio.cpp
--- trunk/extragear/graphics/digikam/kioslave/digikamio.cpp #412382:412383
@@ -550,7 +550,10 @@
if (( errno == EACCES ) || (errno == EPERM))
error( KIO::ERR_ACCESS_DENIED, dest.path() );
else if (errno == EXDEV)
- error( KIO::ERR_UNSUPPORTED_ACTION, QString::fromLatin1("rename"));
+ error( KIO::ERR_UNSUPPORTED_ACTION, QString("This folder is on a different "
+ "filesystem through symlinks. "
+ "Moving/Renaming files between "
+ "them is currently unsupported"));
else if (errno == EROFS) // The file is on a read-only filesystem
error( KIO::ERR_CANNOT_DELETE, src.path() );
else
@@ -619,7 +622,10 @@
if (( errno == EACCES ) || (errno == EPERM))
error( KIO::ERR_ACCESS_DENIED, dest.path() );
else if (errno == EXDEV)
- error( KIO::ERR_UNSUPPORTED_ACTION, QString::fromLatin1("rename"));
+ error( KIO::ERR_UNSUPPORTED_ACTION, QString("This folder is on a different "
+ "filesystem through symlinks. "
+ "Moving/Renaming files between "
+ "them is currently unsupported"));
else if (errno == EROFS) // The file is on a read-only filesystem
error( KIO::ERR_CANNOT_DELETE, src.path() );
else
@@ -682,7 +688,10 @@
if (( errno == EACCES ) || (errno == EPERM))
error( KIO::ERR_ACCESS_DENIED, dest.path() );
else if (errno == EXDEV)
- error( KIO::ERR_UNSUPPORTED_ACTION, QString::fromLatin1("rename"));
+ error( KIO::ERR_UNSUPPORTED_ACTION, QString("This file is on a different "
+ "filesystem through symlinks. "
+ "Moving/Renaming files between "
+ "them is currently unsupported"));
else if (errno == EROFS) // The file is on a read-only filesystem
error( KIO::ERR_CANNOT_DELETE, src.path() );
else
@@ -741,7 +750,10 @@
if (( errno == EACCES ) || (errno == EPERM))
error( KIO::ERR_ACCESS_DENIED, dest.path() );
else if (errno == EXDEV)
- error( KIO::ERR_UNSUPPORTED_ACTION, QString::fromLatin1("rename"));
+ error( KIO::ERR_UNSUPPORTED_ACTION, QString("This file is on a different "
+ "filesystem through symlinks. "
+ "Moving/Renaming files between "
+ "them is currently unsupported"));
else if (errno == EROFS) // The file is on a read-only filesystem
error( KIO::ERR_CANNOT_DELETE, src.path() );
else
ok :-) this has been fixed in svn *** Bug has been marked as fixed ***. This problem is not reproducible since 5.0.0 as all digiKam KIO slave was replaced by a multithreaded interface to play with database |