Crash when trying to delete a folder from a collection

Every time I use the command Delete FORCE NORECYCLE QUIET in a script to delete items from a collection, if the item is a folder, DOpus crash. However, I can use the command via FAYT without any issues in the same context.

The script can be as simple as this:

function OnClick(clickData)
{
	var cmd = clickData.func.command;
	cmd.deselect = false;
	cmd.RunCommand("Delete FORCE NORECYCLE QUIET");
}

Doesn't happen with files, only folders.

ID: 284

True!

ID 285

Many thanks. Fixed in the next beta.

Fixed. Thanks.