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

Ludovic Poitou
17.22.2012 270f7e621b28f740f6b72ec53b14b1ed0d3b8204
opends/src/server/org/opends/server/replication/server/ReplicationBackend.java
@@ -1491,6 +1491,9 @@
      ldif = ldif.replace("\n-\n", "\n");
      ByteArrayInputStream istream = new ByteArrayInputStream(ldif.getBytes());
      LDIFImportConfig newConfig = new LDIFImportConfig(istream);
      // ReplicationBackend may contain entries that are not schema
      // compliant. Let's ignore them for now.
      newConfig.setValidateSchema(false);
      return new LDIFReader(newConfig);
    }
  }