FogBugz (Case [Issue]20172) File System - FileReference>>moveTo: fails if destination is on different device

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FogBugz (Case [Issue]20172) File System - FileReference>>moveTo: fails if destination is on different device

Pharo Issue Tracker
FogBugz Notification
avatar
Alistair Grant opened Case 20172: FileReference>>moveTo: fails if destination is on different device and assigned it to Everyone:
Bug in Project:  File System: 1. Pharo Image  •  You are subscribed to this case
FileReference>>moveTo: is currently a synonym for renameTo:. This causes it to fail if the destination is on a different device / file system to the source.

This can easily be reproduced by running FileLocatorTest>>testMoveTo with the image on a different device to the home directory (e.g. on Ubuntu, put the image somewhere on /dev/shm).

I'll submit a PR with proposed fixes soon.
Priority Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Pharo7.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want FogBugz notifications anymore? Update your preferences.

FogBugz

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker