[midPoint-git] [Evolveum/midpoint] 66a623: Fix opening shadow with object-side references

mederly noreply at github.com
Fri Sep 19 15:47:58 CEST 2025


  Branch: refs/heads/midpilot
  Home:   https://github.com/Evolveum/midpoint
  Commit: 66a62302c2c3347f823a355d1e45522d4bc7f6d4
      https://github.com/Evolveum/midpoint/commit/66a62302c2c3347f823a355d1e45522d4bc7f6d4
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-09-19 (Fri, 19 Sep 2025)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowReferenceAttributeDefinition.java

  Log Message:
  -----------
  Fix opening shadow with object-side references

The problem manifested with the exception:

  "Only subject-side reference definition can have target
   object class definition"

occurring when a opening a shadow that contained a reference
attribute with the role of OBJECT. (Like "members" attribute
in a group.)

It stemmed from incomplete implementation of
ShadowReferenceAttributeDefinition#createTargetObjectsFilter.

This is now preliminarily fixed by - at least - not crashing
while executing the method.



To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list