Fixed: [workflow] validation of users in cc and dest

The validation is processed at the form step, so before the transition is processed
This commit is contained in:
2023-04-13 12:24:44 +02:00
parent 63759a940f
commit a21637331f
7 changed files with 24 additions and 75 deletions

View File

@@ -333,7 +333,11 @@ class WorkflowController extends AbstractController
$transitionForm = $this->createForm(
WorkflowStepType::class,
$entityWorkflow->getCurrentStep(),
['transition' => true, 'entity_workflow' => $entityWorkflow, 'suggested_users' => $usersInvolved]
[
'transition' => true,
'entity_workflow' => $entityWorkflow,
'suggested_users' => $usersInvolved
]
);
$transitionForm->handleRequest($request);