Moves from a branch view to a non existent folder fails

Things you’d like to miss in the future...
Post Reply
nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47

Moves from a branch view to a non existent folder fails

Post by nerdweed »

Strange bug. I enable a branch view on a set of folder which all have one file with the same name.

If I move files (more than one) from these folders after enabling a branch view to a non-existent folder, it prompts about a rich copy which I refuse. Then it creates the folder and moves one file. The remaining files aren't moved and hence the rename errors as the file isn't present.

Code: Select all

	moveto $destination, $items, , 2;
	$newNames = get("targetitems", "|");
	rename b, "<#1> /s", , $newNames ;
The move succeeds on second attempt as the folder was already created.

admin
Site Admin
Posts: 60289
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Moves from a branch view to a non existent folder fails

Post by admin »

Tested with GUI MoveTo and works fine.

So, is this a scripting bug only?

Post Reply