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

Jean-Noel Rouvignac
16.57.2013 92b8b0e66ec0c29c0e020c9b4aa7680ba4732f9d
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendAddOperation.java
@@ -347,7 +347,7 @@
        if (parentEntry == null)
        {
          findAndSetMatchingDN(parentDN);
          setMatchedDN(findMatchedDN(parentDN));
          // The parent doesn't exist, so this add can't be successful.
          setResultCode(ResultCode.NO_SUCH_OBJECT);
@@ -593,7 +593,7 @@
    }
  }
  private void findAndSetMatchingDN(DN entryDN)
  private DN findMatchedDN(DN entryDN)
  {
    try
    {
@@ -602,8 +602,7 @@
      {
        if (DirectoryServer.entryExists(matchedDN))
        {
          setMatchedDN(matchedDN);
          return;
          return matchedDN;
        }
        matchedDN = matchedDN.getParentDNInSuffix();
@@ -616,6 +615,7 @@
        TRACER.debugCaught(DebugLogLevel.ERROR, e);
      }
    }
    return null;
  }
  private boolean checkHasReadOnlyAttributes(