[midPoint-git] [Evolveum/midpoint] d29997: Fix cleanup after finish to remove also subtasks (...
Andrej
noreply at github.com
Wed Dec 11 16:40:22 CET 2024
Branch: refs/heads/bugfix/4.8/10272
Home: https://github.com/Evolveum/midpoint
Commit: d299976020618d444e58c2dc85d5ffcfeae471c0
https://github.com/Evolveum/midpoint/commit/d299976020618d444e58c2dc85d5ffcfeae471c0
Author: Andrej <84732799+and-za at users.noreply.github.com>
Date: 2024-12-11 (Wed, 11 Dec 2024)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/CompletedTaskCleanupTriggerHandler.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestMiscTasks.java
A model/model-intest/src/test/resources/tasks/misc/task-cleanup-subtasks-after-completion.xml
Log Message:
-----------
Fix cleanup after finish to remove also subtasks (#238)
**What**
Remove not just the root task, but also all its subtasks when it is
cleaned up.
**Why**
When cleanup after finish is set on task, it should be auto-removed
after specified duration from its completion.
However there was a bug, which caused, that only the root task was
removed. If task run spawned any persistent subtasks (e.g. when
number of workers per node is specified), those were not cleaned up.
This change fixes it.
---------
(cherry picked from commit 4da3d2184cce9dfa7d066dd750d5e7725ac65865)
To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications
More information about the midPoint-svn
mailing list