[midPoint-git] [Evolveum/midpoint] 1b6436: Fix approval delta classifications
mederly
noreply at github.com
Tue Nov 18 17:09:31 CET 2025
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 1b643666c4425f1401a5c6c1733456a3f8dc5091
https://github.com/Evolveum/midpoint/commit/1b643666c4425f1401a5c6c1733456a3f8dc5091
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2025-11-18 (Tue, 18 Nov 2025)
Changed paths:
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/ApprovalsManagerImpl.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/util/ChangesSorter.java
M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/AbstractWfTestPolicy.java
M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/assignments/TestAssignmentsAdvanced.java
Log Message:
-----------
Fix approval delta classifications
Classification of deltas (related to approvals) into "applied",
"being applied", "waiting to be applied", "rejected" and similar
categories takes part of the information from the execution task.
If the task was deleted in the meanwhile, all applied changes were
erroneously displayed as "Waiting to be applied".
This commit fixes that by treating missing task situation appropriately:
it checks the case "closed" status to know the difference between
"waiting to be applied" and "applied" states.
This resolves MID-10828.
Commit: fe6e79fac42244ea630083edbd60f6a3dfe9b0cb
https://github.com/Evolveum/midpoint/commit/fe6e79fac42244ea630083edbd60f6a3dfe9b0cb
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2025-11-18 (Tue, 18 Nov 2025)
Changed paths:
M docs/tasks/activity-policies.adoc
M docs/tasks/activity-policies/02-policy-network-error-restart.xml
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/PageSelfRegistration.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/CertCampaignTypeUtil.java
M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
M model/model-intest/src/test/resources/tasks/thresholds/task-non-iterative-restart.xml
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/policy/EvaluatorUtils.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/task/ActivityBasedTaskRun.java
M repo/repo-common/src/test/resources/tasks/activities/policies/task-400-simple-restart-on-execution-time.xml
M repo/repo-common/src/test/resources/tasks/activities/policies/task-410-child-restart-on-own-execution-time.xml
M repo/repo-common/src/test/resources/tasks/activities/policies/task-420-child-restart-on-parent-execution-time.xml
M repo/repo-common/src/test/resources/tasks/activities/policies/task-430-child-restart-on-own-execution-time-with-subtasks.xml
M repo/repo-common/src/test/resources/tasks/activities/policies/task-440-child-restart-on-parent-execution-time-with-subtasks.xml
M repo/repo-common/src/test/resources/tasks/activities/policies/task-450-multinode-restart-on-execution-time.xml
M repo/repo-common/src/test/resources/tasks/activities/policies/task-460-multinode-child-restart-on-own-execution-time-with-subtasks.xml
M repo/repo-common/src/test/resources/tasks/activities/policies/task-470-multinode-child-restart-on-root-execution-time-with-subtasks.xml
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Compare: https://github.com/Evolveum/midpoint/compare/ef3a404549b4...fe6e79fac422
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