Custom Delete code doesn't work anymore

Delete Removecollection doesn't work anymore. It throws an VFS error.
Version is 13.14.8 beta.

Using Delete alone still works.

(Topic name changed, since it was related to a special code only)

It only works in collections.

That's the delete button i have been using for years. It used to also work in normal directories. Now there's the danger of erasing files from my collections, or i would have to use different Delete buttons.

AFAIK, it has never worked outside of collections, and wouldn't make sense there as you can't remove something from a collection that isn't in a collection.

I tested with 13.10 and it was the same, so this isn't anything new.

You may be confusing the command with Delete REMOVECOLLECTION=auto

Thanks, that was it. But something was wrong anyway. I had following code for my Delete command:

Delete {=PathType(source)=="coll" ? "REMOVECOLLECTION" : ""=}

Which looks very strange to me. I can't recall that i have put it there. I have tried to delete some files, and got following error messages. And like i said, i can't explain that strange code above. Does it male sense anyway?

You yourself mentioned it here:

It probably came from here:

Ok, i found the reason. It seems, that the alternate code from this post doesn't work anymore, since the latest beta.

(Delete {=PathType(source)=="coll" ? "REMOVECOLLECTION" : ""=}

Yes, sorry. Anyway, i have to use Delete Removecollection=auto now.

That's a better command anyway.

We'll look into why the Evaluator version stopped working in case it affects other things.

Thanks!

Evaluator version of the command should work again in 13.14.9 which we just released. (But I would keep using the =auto command instead, as that's what it's for.)

Yep, i will do that. Like it was before.

1 Like