[midPoint-git] [Evolveum/midpoint] 40b433: Create objectNew in projections sooner

mederly noreply at github.com
Tue Mar 23 11:18:39 CET 2021


  Branch: refs/heads/support-4.2
  Home:   https://github.com/Evolveum/midpoint
  Commit: 40b43322a87d3853f7c3f512164f1d0e553af27d
      https://github.com/Evolveum/midpoint/commit/40b43322a87d3853f7c3f512164f1d0e553af27d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/ResourceShadowDiscriminator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensProjectionContext.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/multi/TestMultiAccount.java
    A model/model-intest/src/test/resources/multi-account/resource-dummy-multi-outbound-simple.xml

  Log Message:
  -----------
  Create objectNew in projections sooner

The recompute() and getObjectDeltaObject() methods
in LensProjectionContext were modified to create "object new"
even if no modification were computed (yet). This is necessary
e.g. to allow outbound mappings to access $projection/tag for
projections being added.

This fixes MID-6899.

(cherry picked from commit 580b80d3ef2b11923cd1a2c8ee8867659c992a74)


  Commit: 610edbf0cd5f3da1a77b52a627e7fcfc254341ee
      https://github.com/Evolveum/midpoint/commit/610edbf0cd5f3da1a77b52a627e7fcfc254341ee
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensProjectionContext.java

  Log Message:
  -----------
  Fix the "object new" fix

Relates to MID-6899.

(cherry picked from commit c6010aaf11e64c06c6608e47b526dc39f3ea707e)


Compare: https://github.com/Evolveum/midpoint/compare/2aac728431e2...610edbf0cd5f


More information about the midPoint-svn mailing list