Bug 370025 - KMLExport cannot move data to destination directory
Summary: KMLExport cannot move data to destination directory
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-KMLExport (show other bugs)
Version: 5.2.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-05 07:25 UTC by Sergey Salnikov
Modified: 2018-01-31 19:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***