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

Yannick Lecaillez
15.14.2015 34e226e66a617c01d490c8737651bfaac2dc1719
OPENDJ-2326: Exclude branch during import-ldif is ignored.
1 files modified
8 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ImportLDIFReader.java 8 ●●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ImportLDIFReader.java
@@ -159,6 +159,14 @@
          // read and return the next entry.
          continue;
        }
        if (!importConfig.includeEntry(entryDN))
        {
          logger.trace("Skipping entry %s because the DN is not one that "
              + "should be included based on the include and exclude branches.", entryDN);
          entriesRead.incrementAndGet();
          logToSkipWriter(lines, ERR_LDIF_SKIP.get(entryDN));
          continue;
        }
        entryContainer = getEntryContainer(entryDN, suffixesMap);
        if (entryContainer == null)
        {