[midPoint-git] [Evolveum/midpoint] 7a49ae: Fix cleanup after finish to remove also subtasks
usert321user
noreply at github.com
Wed Dec 11 12:08:34 CET 2024
Branch: refs/heads/bugfix/10272
Home: https://github.com/Evolveum/midpoint
Commit: 7a49ae357e7ebe6f031b17402675d19ccc4bc58e
https://github.com/Evolveum/midpoint/commit/7a49ae357e7ebe6f031b17402675d19ccc4bc58e
Author: Andrej Zan <mail at mail.mail>
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
**What**
Remove not just root task, but also all it's subtasks when it is
cleanedup.
**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.
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