[midPoint-git] [Evolveum/midpoint] e57142: Fix projection legalization

mederly noreply at github.com
Wed Mar 8 21:30:30 CET 2023


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: e57142b9cc28a2e3d8c49fbeffe5a61d49f6d126
      https://github.com/Evolveum/midpoint/commit/e57142b9cc28a2e3d8c49fbeffe5a61d49f6d126
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-provisioning-3.xsd
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensProjectionContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestAssignmentsProcessing.java
    A model/model-intest/src/test/resources/assignments/resource-dummy-legalizing.xml
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/AssignmentAsserter.java

  Log Message:
  -----------
  Fix projection legalization

Projection legalization was not considering kind and intent of the
projections. This is now fixed. Furthermore, for unclassified
projections (i.e. those that have no known kind/intent), the
legalization is skipped, as it could lead to incorrect results.

This resolves MID-8562.


  Commit: fa0f46b95316efcda3dd1f6fea2f7082d4c8d0f8
      https://github.com/Evolveum/midpoint/commit/fa0f46b95316efcda3dd1f6fea2f7082d4c8d0f8
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M config/sql/native-new/postgres-new-upgrade.sql
    M config/sql/native-new/postgres-new.sql
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/dto/CertCaseOrWorkItemDto.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepoContext.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QObjectMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ref/MReferenceType.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ref/QObjectReferenceMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/simulation/QProcessedObject.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/simulation/QProcessedObjectMapping.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SimulationsBaselineTest.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchTest.java

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


Compare: https://github.com/Evolveum/midpoint/compare/a0be79eb91c4...fa0f46b95316


More information about the midPoint-svn mailing list