AnsweredAssumed Answered

modifying node content creates non existing creator

Question asked by brosini on May 6, 2014
Latest reply on May 7, 2014 by brosini
Hi,

I encounter a problem using Alfresco 3.4.d. I want to do a simple change in one node content when the creator is no longer existant.

What I do:
- user XX creates a node
- admin deletes user XX (the node has cm:creator property to XX)
- user YY edit the node

to edit a node , I use FileFolderService and ContentWriter classes as follow:


        NodeRef node = nodeManager.getNodeRef("TheNodeRefId");
        ContentWriter contentWriter = fileFolderService.getWriter(node);
        contentWriter.putContent("thisIsMyTest");


when the user YY edits the node, Alfresco creates a new XX user with some node properties filled with the "XX" value.

Is it possible to disable the creation of the non existant creator ?

Outcomes