Bug 370025

Summary: KMLExport cannot move data to destination directory
Product: [Applications] digikam Reporter: Sergey Salnikov <salsergey>
Component: Geolocation-KMLExportAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: mettke
Priority: NOR    
Version: 5.2.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.3.0
Sentry Crash Report:

Description Sergey Salnikov 2016-10-05 07:25:08 UTC
Some time ago KIO::moveAs method was replaced by QDir::rename (https://quickgit.kde.org/?p=kipi-plugins.git&a=commit&h=a7fb881e1d8cc7896d411d7d7482c166bfec2139). However, rename method fails in some cases. It seems to fail when trying to move a directory from one partition to another. As a result images are exported to a temporary directory (/tmp/...) but they are not moved to user directory.
Comment 1 Maik Qualmann 2016-10-05 20:22:31 UTC
Git commit e349bbbe42faba80e5570d1d9d1027ab0105f453 by Maik Qualmann.
Committed on 05/10/2016 at 20:21.
Pushed by mqualmann into branch 'master'.

add function to copy files to the destination directory
FIXED-IN: 5.3.0

M  +2    -1    NEWS
M  +32   -2    kmlexport/kmlexport.cpp
M  +1    -0    kmlexport/kmlexport.h

http://commits.kde.org/kipi-plugins/e349bbbe42faba80e5570d1d9d1027ab0105f453
Comment 2 Maik Qualmann 2016-10-11 05:54:05 UTC
*** Bug 370440 has been marked as a duplicate of this bug. ***