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

neil_a_wilson
20.31.2007 680405c126af94119dcf6917ec73d73db3c254d6
Fix a problem with the JE import code in which an exception will be thrown if
there are more than 50 entries in the LDIF data that contain one or more
descendants.

OpenDS Issue Number: 2256
1 files modified
4 ■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/ImportJob.java 4 ●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/ImportJob.java
@@ -993,7 +993,9 @@
    {
      if (parentIDMap.size() >= PARENT_ID_MAP_SIZE)
      {
        parentIDMap.keySet().iterator().remove();
        Iterator<DN> iterator = parentIDMap.keySet().iterator();
        iterator.next();
        iterator.remove();
      }
      parentIDMap.put(parentDN, parentID);