Open eatornquist opened 7 years ago
I am having the same issue: model_status: [ setStatus, AppBundle\Entity\Post::STATUS_DRAFT ] My Post entity and PostModel are at proper namespace and used as well.
Can anyone answer this please?
thanks (Y)
I have been able to resolve the same, in your Post entity create const variables:
const STATUS_DRAFT = 'draft';
const STATUS_VALIDATED = 'validated';
...
Hope this will resolve your issue, the error is invalid/non-existing constant name.
I have this error: Invalid configuration for path "lexik_workflow.processes.post_publication.steps.draft_created.model_status": You must specify a valid constant name as second parameter
Can somebody help me with this??? thanks!!!