From dfd9526441d94b1fd311ee8a81715b5f9e30398a Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 03 Sep 2007 16:18:11 +0000
Subject: [PATCH] Identify the case where we cannot find the replication ID to initialize the suffix for a given base DN and throw an exception informing of it.
---
opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java b/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
index acf6957..8e358a0 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java
@@ -1809,6 +1809,12 @@
}
}
}
+ if (replicationId == -1)
+ {
+ throw new ApplicationException(
+ ReturnCode.APPLICATION_ERROR,
+ ERR_COULD_NOT_FIND_REPLICATIONID.get(dn), null);
+ }
try
{
Thread.sleep(3000);
--
Gitblit v1.10.0