AnsweredAssumed Answered

ActionHandler sometimes fails to overwrite file

Question asked by nicolasraoul on Apr 26, 2010
Hello all,

My advanced workflow has an ActionHandler that copies (or overwrites) files to a publication space.
It works most of the time, but sometimes I get the following exception:

org.alfresco.service.cmr.model.FileExistsException: Existing file or folder Fixed1.txt already exists
   at org.alfresco.repo.model.filefolder.FileFolderServiceImpl.moveOrCopy(FileFolderServiceImpl.java:713)

Of course the file already exists, but 95% of the time the workflow has no problem overwriting it…
I don't know what triggers the exception, but a workflow that has this problem always has it even after restarting Alfresco.
I do all of my tests as "admin" so it is not a rights problem.
Any idea?
Thanks!

Outcomes