[midPoint-git] [Evolveum/midpoint] cc1311: Fix focus object marks handling
mederly
noreply at github.com
Mon Jan 13 16:10:02 CET 2025
Branch: refs/heads/support-4.9
Home: https://github.com/Evolveum/midpoint
Commit: cc13111461535b451dc0fc43e4fab7899a488a4a
https://github.com/Evolveum/midpoint/commit/cc13111461535b451dc0fc43e4fab7899a488a4a
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ChangeExecutor.java
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/PolicyRulesContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyRuleEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyStateRecorder.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyStatementProcessor.java
A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestObjectMarks.java
R model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestShadowMarks.java
A model/model-intest/src/test/resources/object-marks/mark-has-unmanaged-projection.xml
A model/model-intest/src/test/resources/object-marks/resource-shadow-marks.xml
R model/model-intest/src/test/resources/shadow-marks/mark-has-unmanaged-projection.xml
R model/model-intest/src/test/resources/shadow-marks/resource-shadow-marks.xml
M model/model-intest/testng-integration-full.xml
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/asserter/ElementContextAsserter.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/EvaluatedPolicyStatements.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/ObjectMarkHelper.java
Log Message:
-----------
Fix focus object marks handling
Phantom adds and phantom deletes of effectiveMarkRef (for non-shadow
objects) should now be prevented.
This resolves MID-10121.
Other changes:
- Removed "experimental" flag from effectiveMarkRef in schema.
- Generalized TestShadowMarks to TestObjectMarks.
- Fixed ElementContextAsserter#assertNoSecondaryDelta method.
- Minor code & docs clarifications.
(cherry picked from commit d4d938a274bd39516ed209fa9f8ee102fee6a77e)
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