AnsweredAssumed Answered

Deleting a file that has just been uploaded?

Question asked by jzaruba on Oct 22, 2010
Latest reply on Oct 25, 2010 by jzaruba

I'm trying to (conditionally) delete a file that a user has just uploaded. According to this example it should be easy as charm. What I end up with is following error though:
Node does not exist: workspace://SpacesStore/dcd32ee3-6e66-4cdf-bd65-e6062cc2e1e4
I get this error regardless of whether the files gets uploaded via Web Client or CIFS.

(My understanding is that ContentModel.ASPECT_TEMPORARY is there only to prevent Alfresco from archiving the document deleted being deleted, but applying it does not make any difference anyways.)