mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user