[midPoint-git] [Evolveum/midpoint] bf12aa: Fix excessive cloning when deleting PCVs by ID
mederly
noreply at github.com
Wed May 19 22:26:11 CEST 2021
Branch: refs/heads/tmp/mid-7057
Home: https://github.com/Evolveum/midpoint
Commit: bf12aa5bcd7ba3cb42119d1def6c4588d99963e0
https://github.com/Evolveum/midpoint/commit/bf12aa5bcd7ba3cb42119d1def6c4588d99963e0
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2021-05-19 (Wed, 19 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