AnsweredAssumed Answered

Javascript addNode but cannot addChild in Java?

Question asked by esource on Jun 10, 2010
Latest reply on Jun 10, 2010 by esource
In Javascript, I can use the addNode() method to add an existing node to a new space.  But in Java if I try to do the same thing with addChild(), I get an error:

org.alfresco.service.cmr.repository.DuplicateChildNodeNameException: Duplicate child name not allowed:

Is this action allowed in Javascript but not in Java?  What do I need to do to make it work with Java?