[midPoint-git] [Evolveum/midpoint] 133f99: Fix object class specific simulated activation

mederly noreply at github.com
Wed Aug 7 08:31:56 CEST 2024


  Branch: refs/heads/support-4.8
  Home:   https://github.com/Evolveum/midpoint
  Commit: 133f999746b4ab3d55c9684fcb1b4f07855c222f
      https://github.com/Evolveum/midpoint/commit/133f999746b4ab3d55c9684fcb1b4f07855c222f
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-08-07 (Wed, 07 Aug 2024)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/CapabilityUtil.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectTypeDefinition.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectTypeDefinitionImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/deleg/ResourceObjectTypeDefinitionDelegator.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ResourceObjectTypeDefinitionTypeUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/dataModel/dot/DotModel.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/integrity/shadows/ShadowIntegrityCheckItemProcessor.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/DelineationProcessor.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ResourceSchemaAdjuster.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDj.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDjDumber.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDjIncompletePassword.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDjReadablePassword.java
    M provisioning/provisioning-impl/src/test/resources/opendj/account-posix-mcmutton.xml
    M provisioning/provisioning-impl/src/test/resources/opendj/resource-opendj.xml

  Log Message:
  -----------
  Fix object class specific simulated activation

The simulated activation specified for given object type
(actually, object class) didn't work when auxiliary object classes
were present.

The reason is the incorrect way of checking whether a definition
concerns object type: Instead of "definition instanceof
ResourceObjectTypeDefinition" one should check the returned
value of definition.getTypeDefinition() method.

Related to MID-9765.

The pattern was fixed also at some unrelated places.



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