[midPoint-git] [Evolveum/midpoint] 580b80: Create objectNew in projections sooner

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


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


  Commit: c6010aaf11e64c06c6608e47b526dc39f3ea707e
      https://github.com/Evolveum/midpoint/commit/c6010aaf11e64c06c6608e47b526dc39f3ea707e
  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.


  Commit: 48e847648c0293748127363e75c49959606db805
      https://github.com/Evolveum/midpoint/commit/48e847648c0293748127363e75c49959606db805
  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:
  -----------
  Merge branch 'tmp/mid-6899'


Compare: https://github.com/Evolveum/midpoint/compare/371b78fd7f1f...48e847648c02


More information about the midPoint-svn mailing list