Delete an object (move it to trash) that has several locations

Author Message

Jerome Despatis

Friday 02 April 2010 2:17:48 am

Hi

I'd like to delete an object (Move it to trash or completely delete it according to user's wish).

But when I'm using the Remove button (that triggers ActionRemove in /kernel/content/action.php), it only (without asking the user if object has to be removed or not) deletes one location.

And only when the object has only one location left, then the Remove button asks if whether or not the object has to be moved to trash or has to be completely removed

For my needs, I'd like to directly move the object to trash or completely remove it (according to users's wish) whatever the number of locations this object may have...

Any idea on how to succeed this ?

Thanks

Jerome Despatis

Friday 02 April 2010 4:36:45 am

After many tries, I've added a bug report:

http://issues.ez.no/IssueView.php?Id=16572

I don't think it's possible to delete at once an object...

Now trying to delete all locations (except main) of an object and then use the ActionRemove or something like that...

If someone has a better idea, he/she's welcome !!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.