[midPoint-git] [Evolveum/midpoint] 92f658: Fix shadow unlink and a bug in context loader
mederly
noreply at github.com
Sat Mar 13 01:27:24 CET 2021
Branch: refs/heads/tmp/mid-6862
Home: https://github.com/Evolveum/midpoint
Commit: 92f658a31c7f3c2b1134f6ba66661f79440dcd4f
https://github.com/Evolveum/midpoint/commit/92f658a31c7f3c2b1134f6ba66661f79440dcd4f
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2021-03-13 (Sat, 13 Mar 2021)
Changed paths:
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/SynchronizationIntent.java
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/SynchronizationPolicyDecision.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/LinkUpdater.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ContextLoader.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ProjectionValuesProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ReconciliationProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/action/UnlinkAction.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestSynchronizationService.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestInbounds.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelCrudService.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelServiceContract.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/gensync/TestRoleEntitlement.java
Log Message:
-----------
Fix shadow unlink and a bug in context loader
1. UNLINK intent now physically removes linkRef from the focus.
Otherwise we are not able to guarantee live/dead consistency between
linkRef and shadow.
2. "Unlink" action now does nothing. It is used typically to treat
deleted resource objects. This has to be reconsidered!
3. Fixed a bug in context loader that caused obsolete shadows to be
put into projection contexts in case of conflicts (see TestUuid).
Unfortunately this is again more a hack than a real solution.
Related to MID-6862.
More information about the midPoint-svn
mailing list