[midPoint-git] [Evolveum/midpoint] f59a08: Fix cleanup after finish to remove also subtasks (...
Andrej
noreply at github.com
Wed Dec 11 16:39:34 CET 2024
Branch: refs/heads/bugfix/4.9/10272
Home: https://github.com/Evolveum/midpoint
Commit: f59a08ec7d68c638d1e40f95a4f63971353bf6a1
https://github.com/Evolveum/midpoint/commit/f59a08ec7d68c638d1e40f95a4f63971353bf6a1
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