[midPoint-git] [Evolveum/midpoint] 988ba4: Fix excessive cloning when deleting PCVs by ID

mederly noreply at github.com
Wed May 26 09:22:16 CEST 2021


  Branch: refs/heads/support-4.3
  Home:   https://github.com/Evolveum/midpoint
  Commit: 988ba403af1fa2203b6d77c296babb42b6da1513
      https://github.com/Evolveum/midpoint/commit/988ba403af1fa2203b6d77c296babb42b6da1513
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-05-26 (Wed, 26 May 2021)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensFocusContext.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/mapping/TestMapping.java
    A model/model-intest/src/test/resources/mapping/resource-dummy-mega-outbound.xml
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionUtil.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/PathExpressionResolver.java

  Log Message:
  -----------
  Fix excessive cloning when deleting PCVs by ID

The normalization of values to-be-deleted was done too lately,
leading to excessive cloning (basically at each mapping source
evaluation). This is now fixed. The normalization is done when
ODO is computed in the focus context.

This resolves MID-7057. However, it is only an approximate fix
for now. The more thorough analysis of the problem is needed.




More information about the midPoint-svn mailing list