[midPoint-git] [Evolveum/midpoint] d4d938: Fix focus object marks handling

mederly noreply at github.com
Mon Jan 13 16:09:35 CET 2025


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: d4d938a274bd39516ed209fa9f8ee102fee6a77e
      https://github.com/Evolveum/midpoint/commit/d4d938a274bd39516ed209fa9f8ee102fee6a77e
  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.


  Commit: 58376a1754b10f2921e8b5538d62afb65c6f4531
      https://github.com/Evolveum/midpoint/commit/58376a1754b10f2921e8b5538d62afb65c6f4531
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-01-13 (Mon, 13 Jan 2025)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchIterativeTest.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/213034cddd2c...58376a1754b1

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