mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-28 13:06:13 +00:00
Merge branch '1304-save-comments-on-workflow-step' into 'master'
Save the comments on a workflow step See merge request Chill-Projet/chill-bundles!760
This commit is contained in:
commit
9012e68b70
@ -441,6 +441,8 @@ class EntityWorkflow implements TrackCreationInterface, TrackUpdateInterface
|
|||||||
$newStep = new EntityWorkflowStep();
|
$newStep = new EntityWorkflowStep();
|
||||||
$newStep->setCurrentStep($step);
|
$newStep->setCurrentStep($step);
|
||||||
|
|
||||||
|
$newStep->setComment($transitionContextDTO->comment);
|
||||||
|
|
||||||
foreach ($transitionContextDTO->futureCcUsers as $user) {
|
foreach ($transitionContextDTO->futureCcUsers as $user) {
|
||||||
$newStep->addCcUser($user);
|
$newStep->addCcUser($user);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user