[midPoint-git] [Evolveum/midpoint] d0f68d: Fix task result status retrieval (MID-6721)

mederly noreply at github.com
Tue Mar 2 14:42:37 CET 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: d0f68d5f3d3096367ce2a0d733d0d6131a93a8f6
      https://github.com/Evolveum/midpoint/commit/d0f68d5f3d3096367ce2a0d733d0d6131a93a8f6
  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 infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityAdvanced.java
    A model/model-intest/src/test/resources/security/role-read-task-status.xml
    A model/model-intest/src/test/resources/security/task-dummy.xml
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskQuartzImpl.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tasks/TaskRetriever.java
    M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/TestTaskManagerBasic.java
    A repo/task-quartz-impl/src/test/resources/basic/task-dummy.xml

  Log Message:
  -----------
  Fix task result status retrieval (MID-6721)

When getting task object in a standard way (i.e. without explicitly
asking for task.result) the result status was cleared. This is now
fixed.

Other changes:
- Structured progress is now updated from in-memory task (if found).
- Marked some parts of OperationResultType as optional, to allow
partially defined objects.
- Marked UriStack (for tasks) as deprecated.
- Fixed NPE when parsing operation results without tokens.




More information about the midPoint-svn mailing list