[midPoint-git] [Evolveum/midpoint] f9debb: Stop visiting embedded objects by default

mederly noreply at github.com
Mon Apr 6 15:27:53 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: f9debb27f82368f6c9ad0b2112cfdce03c56c619
      https://github.com/Evolveum/midpoint/commit/f9debb27f82368f6c9ad0b2112cfdce03c56c619
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M infra/common/src/main/java/com/evolveum/midpoint/common/crypto/CryptoUtil.java
    A infra/prism-api/src/main/java/com/evolveum/midpoint/prism/ConfigurableVisitor.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/util/PrismAsserts.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismReferenceValueImpl.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/PrismInternalTestUtil.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/TestPrismParsing.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelObjectResolver.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/AbstractWfTestPolicy.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/ObjectResolver.java

  Log Message:
  -----------
  Stop visiting embedded objects by default

Visitor in prism module did NOT visit objects embedded in references
for a very long time. Recently we changed this behavior and started
visiting embedded objects - in order to assure encryption of protected
values in such objects (see 60328c40b2b99c6cf41ab6ce90145fae941d07bd).

But this change broke other things, like resolution of references
in ApprovalSchemaExecutionInformationType. Analysis of other uses
indicate that visiting embedded objects can be wrong in other
contexts as well.

So now we are reverting to the old behavior and providing
ConfigurableVisitor to allow controlling this feature.

This resolves MID-6171.


  Commit: ab901c96b69d6d3919f2470361b931ea8b858803
      https://github.com/Evolveum/midpoint/commit/ab901c96b69d6d3919f2470361b931ea8b858803
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/dialog/ConfigureTaskConfirmationPanel.java
    M gui/admin-gui/src/main/resources/initial-objects/000-system-configuration.xml

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/ac30cb65caee...ab901c96b69d


More information about the midPoint-svn mailing list