Bug 418685 - Trying to Backup the file you are working on.
Summary: Trying to Backup the file you are working on.
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: file (show other bugs)
Version: 5.0.6
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-10 01:30 UTC by Ored
Modified: 2020-03-10 01:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ored 2020-03-10 01:30:35 UTC
SUMMARY
When you click on [File] then "Backup...", in the (Mount Point:) box. There is a "/" at the start of the path description.
example: if I want to backup to (G:/Financial_Folder/KMyMoney-BkUp) location, By default there is a "/" character coded to appear at the start of the location.
[/G:/Financial_Folder/KMyMoney-BkUp] it should be without the backslash "/" character in front of the path. 

STEPS TO REPRODUCE
1. Have the file you are working on open.
2. Click on [File] then "Backup..."
3. Click on [Choose] button, select the location you want.
4. Click on [OK]

OBSERVED RESULT
The Error box pops up "Error copying file to device" Then when you click on the [OK] button, the Error box closes, but you do not have a backup.

EXPECTED RESULT
When doing a "Backup" there should not be a "/" backslash in front of the location selection. 

SOFTWARE/OS VERSIONS
Windows: Microsoft Windows 10 Pro

KDE Frameworks 5.47.0
Qt 5.9.1 (built against 5.9.1)
The windows windowing system

ADDITIONAL INFORMATION
I am not a programmer, but have worked a bit on databases. I think somewhere in the code the "/" is inserted/hard coded to be placed in front of the path selection.
Note: If you take the "/" at the front of the path location out, the backup works fine. Unfortunately some users I think would not figure that out.