[midPoint-git] [Evolveum/midpoint] eb2927: Provide demo of a workaround for MID-6786

mederly noreply at github.com
Tue Mar 2 09:16:09 CET 2021


  Branch: refs/heads/tmp/post-m3-fixes
  Home:   https://github.com/Evolveum/midpoint
  Commit: eb2927bf342a62c5bc3175b16340bb98a3502608
      https://github.com/Evolveum/midpoint/commit/eb2927bf342a62c5bc3175b16340bb98a3502608
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

  Changed paths:
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/misc/TestTracing.java
    A model/model-intest/src/test/resources/schema/containers.xsd
    A model/model-intest/src/test/resources/tracing/function-library-hacking.xml
    A model/model-intest/src/test/resources/tracing/role-class-less-values.xml
    A model/model-intest/src/test/resources/tracing/user-jim.xml

  Log Message:
  -----------
  Provide demo of a workaround for MID-6786


  Commit: ded68931a52f940f17fcec4ae9250f0e8052ccb6
      https://github.com/Evolveum/midpoint/commit/ded68931a52f940f17fcec4ae9250f0e8052ccb6
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

  Changed paths:
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/marshaller/BeanMarshaller.java
    M model/model-intest/src/test/resources/tracing/function-library-hacking.xml
    M model/model-intest/src/test/resources/tracing/role-class-less-values.xml

  Log Message:
  -----------
  Fix MID-6786 preliminarily

Here we replace very ugly hack that uses t:ItemDeltaType to pass values
from library function to its clients by a little less ugly use
of t:ItemType.

The whole "solution" is still very hacky, and should be reviewed.

Overall, the support for class-less containers and their values has
to be improved.


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

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/result/OperationResult.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/Clockwork.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/scriptExecutor/PolicyRuleScriptExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/AbstractObjectBasedActionExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/BaseActionExecutor.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/AbstractRbacTest.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestRbac.java
    A model/model-intest/src/test/resources/rbac/user-failing-script.xml

  Log Message:
  -----------
  Treat scripting (rules) failures as partial errors

Also, fixed unfinished operation result handling in bulk actions.

This resolves MID-6753.


Compare: https://github.com/Evolveum/midpoint/compare/0d0a9dff1ccc...007d117f580e


More information about the midPoint-svn mailing list