[midPoint-git] [Evolveum/midpoint] 4a4067: Fix assigned projections with focus iteration
mederly
noreply at github.com
Thu Mar 9 18:10:02 CET 2023
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 4a4067a9ce2482be2d48c004d559aebfe756c865
https://github.com/Evolveum/midpoint/commit/4a4067a9ce2482be2d48c004d559aebfe756c865
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-03-09 (Thu, 09 Mar 2023)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensElementContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/ConstructionEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/EvaluatedResourceObjectConstructionImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/ItemEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ActivationProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ProjectionFullLoadOperation.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIteration.java
A model/model-intest/src/test/resources/iteration/metarole-dummy-associations.xml
A model/model-intest/src/test/resources/iteration/resource-dummy-associations.xml
A model/model-intest/src/test/resources/iteration/role-cs-101.xml
A model/model-intest/src/test/resources/iteration/user-template-simple-iteration.xml
M model/report-impl/src/test/java/com/evolveum/midpoint/report/TestCsvSimulationReport.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/TestObject.java
Log Message:
-----------
Fix assigned projections with focus iteration
When the assigned resource object constructions are evaluated repeatedly
(for example, when focus iteration is engaged), midPoint may try to
fetch not-yet-existing projection. It is because of limitations of the
current LensProjectionContext#isAdd implementation (see the javadoc
added).
Either we would improve that method, or - as a quicker albeit maybe not
so comprehensive fix - we simply avoid loading projections without OID
when evaluating such constructions. The latter approach was selected
for this commit.
This resolves MID-8569.
Commit: 96f78ec7ee316d3716b29f3598e8e7f5768ef25a
https://github.com/Evolveum/midpoint/commit/96f78ec7ee316d3716b29f3598e8e7f5768ef25a
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-03-09 (Thu, 09 Mar 2023)
Changed paths:
M dist/javadoc/pom.xml
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/AbstractPageLogin.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentsUtil.java
M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/handler/MidpointAuthenticationFailureHandler.java
M tools/jenkins/midpoint-conntest-pipeline
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Compare: https://github.com/Evolveum/midpoint/compare/c47b99e38c5f...96f78ec7ee31
More information about the midPoint-svn
mailing list