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

Gaetan Boismal
14.35.2015 fb90917ba9a7f1cfc12f2a0bcaad662c6b923083
OPENDJ-1929 Backport r11503 to server-legacy

This change is a backport to opendj-server-legacy of the bug fixing done in opendj-config at revision r11503.
* org.opends.server.client.spi.Driver
** Fix bug in config framework that prevented management of Persistit backend indexes using dsconfig.
1 files modified
6 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/admin/client/spi/Driver.java 6 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/admin/client/spi/Driver.java
@@ -207,11 +207,11 @@
        throws PropertyException {
      // First check that the requested type of managed object
      // corresponds to the path.
      AbstractManagedObjectDefinition<?, ?> supr = target
      AbstractManagedObjectDefinition<?, ?> actualType = target
          .getManagedObjectDefinition();
      if (!supr.isParentOf(d)) {
      if (!d.isParentOf(actualType)) {
        throw PropertyException.defaultBehaviorException(
            nextProperty, new DefinitionDecodingException(supr,
            nextProperty, new DefinitionDecodingException(d,
                Reason.WRONG_TYPE_INFORMATION));
      }