[midPoint-git] [Evolveum/midpoint] 42b6d9: Fix "projection activation vs. discovery" issue
mederly
noreply at github.com
Thu Sep 21 17:54:46 CEST 2023
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 42b6d977065ee3ce5f0ef315c3add8d24586a579
https://github.com/Evolveum/midpoint/commit/42b6d977065ee3ce5f0ef315c3add8d24586a579
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-09-21 (Thu, 21 Sep 2023)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ElementState.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensFocusContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ContextLoader.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ProjectionsLoadOperation.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestConsistencySimple.java
A model/model-intest/src/test/resources/consistency-simple/archetype-person.xml
A model/model-intest/src/test/resources/consistency-simple/resource-source.xml
A model/model-intest/src/test/resources/consistency-simple/resource-target-1.xml
A model/model-intest/src/test/resources/consistency-simple/resource-target-2.xml
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/util/SynchronizationRequest.java
Log Message:
-----------
Fix "projection activation vs. discovery" issue
The projection activation (similar to regular projection attributes)
is derived from "absolute change" from old to new focus state,
described by the summary delta.
However, in "discovery" scenarios, when the focus is externally
changed, the equation "old + summaryDelta = new" no longer holds,
giving rise to many unexpected/faulty behaviors, like the one
described in MID-9103.
This commit provides a partial solution by reloading old object if the
discovery occurs during initial context loading. Other situations, i.e.,
when the discovery occurs after some changes were done, require more
work, hence a new issue (MID-9113) was created to cover them.
This commit resolves MID-9103.
Commit: 807b78c4c642e77162716012ff87b11f8b11069c
https://github.com/Evolveum/midpoint/commit/807b78c4c642e77162716012ff87b11f8b11069c
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-09-21 (Thu, 21 Sep 2023)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/activation/ActivationsWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/activation/PredefinedMappingStepPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/input/DurationWithOneElementPanel.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/MidPointPrismContextFactory.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/visualizer/ActivationDescriptionHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/visualizer/AssignmentDescriptionHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/visualizer/ClassLoggerDescriptionHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/visualizer/PasswordDescriptionHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/visualizer/ShadowDescriptionHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/visualizer/VisualizationDescriptionHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/visualizer/Visualizer.java
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Compare: https://github.com/Evolveum/midpoint/compare/e85262fc7f45...807b78c4c642
More information about the midPoint-svn
mailing list