View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003859||Far Manager||Copy/Move||public||2021-04-09 07:41||2021-04-09 17:33|
|Priority||immediate||Severity||major||Reproducibility||have not tried|
|Summary||0003859: Copying a file over itself leads to data loss|
|Description||I've accidently chosen the same directories on the left an right panel.|
Then copying the file from left to right (F5).
Copy method is 'system'.
No warning appereared.
File was copied, it seems.
Other day I see that the file contains nothing (blanks or nulls, didn't look further).
Not a big problem in this case, as I have backups - but it had been catastrophic if not (the file was a 180 MB sqlite infobase from cherrytree :-).
It should not be possible to copy a file onto itself (at least a warning is required!).
FAR Version ist 5775.
|Steps To Reproduce||Navigate to the same folder left and right.|
Copy file A from the left to the right.
Look into the file.
|Tags||No tags attached.|
There's already a check for copying a file over itself, I'd expect it to work in trivial cases like this one.
While I can fool it with some additional trickery, I can't using your steps only.
Could you clarify please:
- "Navigate to the same folder left and right" - is it literally the same path or a symlink / subst to the same location?
- "Copy file A from the left to the right" - when you press F5, what exactly appears? What path is entered in the destination field?
Not reproducible on 5778
This is very strange.
I never noticed that behaviour ever before, too.
Yes, the left and right panels show the physical identical paths.
I will try to reproduce the error as soon as possible.
I've got it: If more than one file is marked for copy, then the desaster happens..... see attached screenshots.
2021-04-09 17_04_28-Window.jpg (852,048 bytes)
2021-04-09 17_04_43-Window.jpg (851,287 bytes)
||Yes, that's it. 5779 (hopefully).|
|2021-04-09 07:41||hoffenfar||New Issue|
|2021-04-09 11:01||DrKnS||Note Added: 0017056|
|2021-04-09 11:03||Px||Note Added: 0017057|
|2021-04-09 15:41||hoffenfar||Note Added: 0017058|
|2021-04-09 16:06||hoffenfar||Note Added: 0017059|
|2021-04-09 16:06||hoffenfar||File Added: 2021-04-09 17_04_28-Window.jpg|
|2021-04-09 16:06||hoffenfar||File Added: 2021-04-09 17_04_43-Window.jpg|
|2021-04-09 17:33||DrKnS||Assigned To||=> DrKnS|
|2021-04-09 17:33||DrKnS||Status||new => feedback|
|2021-04-09 17:33||DrKnS||Note Added: 0017060|