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

jcambon
30.53.2009 361901e9ecbd10cb4ea26bd44e7cb9d363852fed
Fix for Issue #3766 : dsconfig : when using composition, error message refers to parent instead of child

1 files modified
4 ■■■■ changed files
opends/src/server/org/opends/server/tools/dsconfig/SetPropSubCommandHandler.java 4 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsconfig/SetPropSubCommandHandler.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2007-2008 Sun Microsystems, Inc.
 *      Copyright 2007-2009 Sun Microsystems, Inc.
 */
package org.opends.server.tools.dsconfig;
@@ -702,7 +702,7 @@
      throw new ClientException(LDAPResultCode.CONSTRAINT_VIOLATION, msg);
    } catch (ManagedObjectNotFoundException e) {
      throw ArgumentExceptionFactory.unknownValueForChildComponent(
        "\"" + names.get(0) + "\"");
        "\"" + names.get(names.size()-1) + "\"");
    }
    if (result.isQuit()) {