AnsweredAssumed Answered

Duplicate child error on move item action...

Question asked by rkylberg on Dec 14, 2007
Latest reply on Dec 14, 2007 by rivarola
I get a "Duplicate child name not allowed" system error for the following setup:

1. create a space called 'import'
2. create a space called 'saved'
3. define an action rule over the 'import' space to "Move item to a specific space" assigning the 'saved' space as the destination.
4. add content to the 'import' space
5. the action will be applied and the content moved out of 'import' and into 'saved'
6. add the same content again to the 'import' space
7. observe that a system error exception is raised that a "Duplicate child name not allowed."

Copy actions and image tansform actions exhibit similar behavior. I can appreciate that allowing content to be over-written or replaced may be undesirable; however, in my application I actually want to over-write existing content. I need the move action to behave like a *nix mv command.

Is there any way to do this?

Thanks in advance for any advice on how to accomplish this.