mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
19.34.2014 6f6900ee6e3327d425fc52ee04e328bf28ebec25
OPENDJ-1602 (CR-5566) New pluggable storage based backend

Fix bug in config framework that prevented creation of Persistit backends.
1 files modified
6 ■■■■ changed files
opendj3-server-dev/src/server/org/opends/server/admin/server/ServerManagementContext.java 6 ●●●● patch | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/admin/server/ServerManagementContext.java
@@ -224,11 +224,11 @@
        throws PropertyException {
      // First check that the requested type of managed object
      // corresponds to the path.
      AbstractManagedObjectDefinition<?, ?> supr = target
      AbstractManagedObjectDefinition<?, ?> actual = target
          .getManagedObjectDefinition();
      if (!supr.isParentOf(d)) {
      if (!d.isParentOf(actual)) {
        throw PropertyException.defaultBehaviorException(
            nextProperty, new DefinitionDecodingException(supr,
            nextProperty, new DefinitionDecodingException(actual,
                Reason.WRONG_TYPE_INFORMATION));
      }