From 75a710630a2d6271231a31eed5fa72fccfcb8723 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Mon, 10 Jun 2013 12:46:50 +0000
Subject: [PATCH] CR-1816 OPENDJ-940 Import-ldif NPE if base entry contains invalid attribute values and skipDNValidation is set - Removed NullPointerException message and it sends now a DirectoryException.

---
 opendj-sdk/opends/src/messages/messages/tools.properties |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/src/messages/messages/tools.properties b/opendj-sdk/opends/src/messages/messages/tools.properties
index a35ba90..5923f7f 100644
--- a/opendj-sdk/opends/src/messages/messages/tools.properties
+++ b/opendj-sdk/opends/src/messages/messages/tools.properties
@@ -198,6 +198,10 @@
  trying to open the rejects file %s for writing:  %s
 SEVERE_ERR_LDIFIMPORT_ERROR_DURING_IMPORT_96=An error occurred while \
  attempting to process the LDIF import:  %s
+SEVERE_ERR_LDIFIMPORT_ERROR_CONSTRAINT_VIOLATION_97=One or more DN \
+indexes could not be built due to invalid DNs or missing parent entries. \
+Please re-import the data without the --skipDNValidation option in order \
+to determine the exact cause
 INFO_PROCESSING_OPERATION_104=Processing %s request for %s
 INFO_OPERATION_FAILED_105=%s operation failed
 INFO_OPERATION_SUCCESSFUL_106=%s operation successful for DN %s

--
Gitblit v1.10.0