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

dugan
22.28.2009 024f10957a7ba6051432bb827dbe8bc2f6034ff2
opends/src/server/org/opends/server/backends/jeb/importLDIF/Importer.java
@@ -1789,18 +1789,18 @@
        long v1 = JebFormat.entryIDFromDatabase(v);
        DNValue.setData(v);
        DN dn = DN.decode(ByteString.wrap(DNKey.getData()));
        entryID = new EntryID(v1);
        //Bypass the cache for append data, lookup the parent in DN2ID and
        //return.
        if(importConfiguration != null &&
           importConfiguration.appendToExistingData())
        {
          DN newParentDN = entryContainer.getParentWithinBase(dn);
         parentDN = entryContainer.getParentWithinBase(dn);
          parentID =
             entryContainer.getDN2ID().get(null, newParentDN, LockMode.DEFAULT);
             entryContainer.getDN2ID().get(null, parentDN, LockMode.DEFAULT);
        }
        else
        {
          entryID = new EntryID(v1);
          if(parentIDMap.isEmpty())
          {
            parentIDMap.put(dn, entryID);