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

Jean-Noel Rouvignac
16.57.2013 92b8b0e66ec0c29c0e020c9b4aa7680ba4732f9d
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendModifyDNOperation.java
@@ -383,7 +383,7 @@
      if (getOriginalEntry() == null)
      {
        // See if one of the entry's ancestors exists.
        findAndSetMatchingDN(entryDN);
        setMatchedDN(findMatchedDN(entryDN));
        setResultCode(ResultCode.NO_SUCH_OBJECT);
        appendErrorMessage(ERR_MODDN_NO_CURRENT_ENTRY.get(String
@@ -573,7 +573,7 @@
    }
  }
  private void findAndSetMatchingDN(DN entryDN)
  private DN findMatchedDN(DN entryDN)
  {
    try
    {
@@ -582,8 +582,7 @@
      {
        if (DirectoryServer.entryExists(matchedDN))
        {
          setMatchedDN(matchedDN);
          return;
          return matchedDN;
        }
        matchedDN = matchedDN.getParentDNInSuffix();
@@ -596,6 +595,7 @@
        TRACER.debugCaught(DebugLogLevel.ERROR, e);
      }
    }
    return null;
  }
  /**