[midPoint-git] [Evolveum/midpoint] b5db18: Fill-in association identifiers completely

mederly noreply at github.com
Fri Apr 21 14:47:03 CEST 2023


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: b5db18c587dd73b7c3f3f0597275a83117d5f537
      https://github.com/Evolveum/midpoint/commit/b5db18c587dd73b7c3f3f0597275a83117d5f537
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-04-21 (Fri, 21 Apr 2023)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/AttributeDefinitionStore.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeContainer.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeContainerImpl.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningContext.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningContextFactory.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowedObjectConstruction.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDj.java
    M provisioning/provisioning-impl/src/test/resources/opendj/resource-opendj.xml
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ShadowAssociationAsserter.java
    A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ShadowAssociationValueAsserter.java

  Log Message:
  -----------
  Fill-in association identifiers completely

The provisioning module fill-is in shadowRef to all association values
when returning a shadowed resource object. However, identifiers were
originally not touched - they may or may not be present completely,
depending on the situation. This caused issues where the naming
attribute was expected to evaluate tolerant/intolerant patterns
but only primary identifier (uid) was present.

Now we copy all the identifiers from the resolved shadow, along with
the shadowRef. It should ensure that tolerant/intolerant patterns
can be always evaluated.

Related to MID-8815.




More information about the midPoint-svn mailing list