LexikWorkflowBundle icon indicating copy to clipboard operation
LexikWorkflowBundle copied to clipboard

The given model has already started the "post_publication" process

Open Nekker opened this issue 9 years ago • 4 comments

hello !

My error comes from my controller ($modelSate =$processHandler->start($model);).

I looked in the processHandler to identify the error but I don't know of or comes this error,

Thank you in advance for your help and I will be happy to resolve the error with you.

Nekker avatar Feb 10 '16 14:02 Nekker

What is the error ? An exception ? An configuration error ... ?

maarekj avatar Feb 10 '16 15:02 maarekj

this is an exception because the controller is taken into account but it has blocked the start function.

that's what we but an error message with the process level.

thank you for your help

Nekker avatar Feb 11 '16 14:02 Nekker

@Nekker check getWorkflowIdentifier method of your model. In case you use the same implementation as in example and pass an entity with id equals to null you will get the duplication of identifier that causes the error.

bakurin avatar Mar 09 '16 18:03 bakurin

@bakurin Thanks for help but this issue is has solved half. How could you do it and she variables to switch between steps is another view in the twig.

FMAxGr33Dx avatar Mar 10 '16 07:03 FMAxGr33Dx