[midPoint-git] [Evolveum/midpoint] dc771d: Delete dangling dead (inactive) linkRef values

mederly noreply at github.com
Wed Jan 11 16:23:33 CET 2023


  Branch: refs/heads/support-4.6
  Home:   https://github.com/Evolveum/midpoint
  Commit: dc771d19e485e1e5fefb94278356c3cd8b263d6b
      https://github.com/Evolveum/midpoint/commit/dc771d19e485e1e5fefb94278356c3cd8b263d6b
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ProjectionsLoadOperation.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelServiceContract.java

  Log Message:
  -----------
  Delete dangling dead (inactive) linkRef values

Unlike dangling regular (live ~ org:default) linkRef values, the
dangling dead ones were not automatically deleted when discovered.
This is now fixed.

See MID-8361.

(cherry picked from commit a78ceae347a14aaf3785ed50784359d31ffb43cf)


  Commit: 61bf4f78c49c7a20686729cf9995ea5bb9456bcd
      https://github.com/Evolveum/midpoint/commit/61bf4f78c49c7a20686729cf9995ea5bb9456bcd
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  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/LensFocusContext.java
    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/loader/ProjectionsLoadOperation.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestReconScript.java
    M model/model-impl/src/test/resources/common/resource-dummy.xml

  Log Message:
  -----------
  Fix getting shadows related to sync deltas

The "object not found" situation was not handled correctly for shadow
`getObject` operations during sync deltas processing. This caused
errors being reported needlessly. We fixed it by adding "allow not
found" option there. Now TestReconScript fails no more.

Related to previous fix for MID-8361.

Unrelated change: Re-enabled parts of TestReconScript disabled by
mistake in 29c0a6eeef5368c18c479434be5796a465284c0b.

(cherry picked from commit bba2c720669a9c750f5d1a6552a9e03b8e276085)


  Commit: bb5fb683b64cb28bf96b7e3784a0a023567fd66a
      https://github.com/Evolveum/midpoint/commit/bb5fb683b64cb28bf96b7e3784a0a023567fd66a
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M model/model-impl/src/test/resources/common/resource-dummy.xml

  Log Message:
  -----------
  Fix scripts in model-impl/resource-dummy.xml

This makes TestSynchronizationService working.

Related to previous fixes for MID-8361.

(cherry picked from commit 7a97adb9a2ba9a5901142048b909df42fa48998a)


Compare: https://github.com/Evolveum/midpoint/compare/0dee9ace3212...bb5fb683b64c


More information about the midPoint-svn mailing list