[midPoint-git] [Evolveum/midpoint] 01e31d: Fix object class specific simulated activation

mederly noreply at github.com
Wed Aug 7 09:01:05 CEST 2024


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 01e31d8e6d62600c664c0a6e0a5ff07646550308
      https://github.com/Evolveum/midpoint/commit/01e31d8e6d62600c664c0a6e0a5ff07646550308
  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
    R infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceSchemaAdjuster.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceSchemaParser.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/deleg/ResourceObjectTypeDefinitionDelegator.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/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.

(Adapted from 133f999746b4ab3d55c9684fcb1b4f07855c222f.
Note that the ResourceSchemaAdjuster is finally gone here.)



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