Skip to content
Snippets Groups Projects
Commit 802f11c9 authored by John Voskuilen's avatar John Voskuilen
Browse files

Issue #3525032: Scheduled transition cannot be updated in 2.0.0

parent 64d1991e
No related branches found
No related tags found
No related merge requests found
Pipeline #517363 passed with warnings
......@@ -319,6 +319,8 @@ class WorkflowTransition extends ContentEntityBase implements WorkflowTransition
case $this->getEntityTypeId() == 'workflow_scheduled_transition':
// Create, update a scheduled transition.
// Avoid custom actions for subclass WorkflowScheduledTransition.
// @todo Update existing WST, do not dicard existing and create new one.
WorkflowEntityHooks::deleteTransitionsOfEntity($entity, 'workflow_scheduled_transition', $field_name);
$result = parent::save();
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment