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

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


  Branch: refs/heads/support-4.4
  Home:   https://github.com/Evolveum/midpoint
  Commit: 136e52be3d524eaed4fea54252d07dec3610ae3d
      https://github.com/Evolveum/midpoint/commit/136e52be3d524eaed4fea54252d07dec3610ae3d
  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.

(loosely cherry picked from commit
a78ceae347a14aaf3785ed50784359d31ffb43cf)


  Commit: bb9259778d7b06ce4a3d1d739882efb7629a5d35
      https://github.com/Evolveum/midpoint/commit/bb9259778d7b06ce4a3d1d739882efb7629a5d35
  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

  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 and muting any remaining errors.
Now TestReconScript fails no more.

Related to previous fix for MID-8361.

Other changes: Added missing "no fetch" option when fetching shadows
during sync deltas processing. It was deleted by mistake during 4.4
development by 68bda1d4f86f9299b4d630bb16a317773998a3b2 and was re-added
later (in 4.6 at latest). So let's be consistent and have it there.


Compare: https://github.com/Evolveum/midpoint/compare/e7f6d96e9249...bb9259778d7b


More information about the midPoint-svn mailing list