AnsweredAssumed Answered

Crear el Objeto CML.Move C#

Question asked by ferdinandum on Jul 14, 2011
Buenos Días

Tengo un problema al intentar mover un fichero, de un nodo a otro.



REPO.CMLMove move = new REPO.CMLMove
{
     
       to =  //Referencia del Nodo Destino,
       where= //Referencia del fichero,

  };

Este es el error

0org.alfresco.service.cmr.repository.CyclicChildRelationshipException: Node has been pasted into its own tree.org.alfresco.repo.webservice.repository.RepositoryFault
   at org.alfresco.repo.webservice.repository.RepositoryWebService.update(RepositoryWebService.java:335)
   at sun.reflect.GeneratedMethodAccessor585.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
   at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
   at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
   at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
   at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
   at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
   at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
   at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
   at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)



Pero no lo consigue mover

Outcomes