From f5e5afb2c4d8160293cb1812a57aa8d990f8cd3f Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 28 Oct 2009 10:52:52 +0000
Subject: [PATCH] Simplify the name of the domain and use (when possible) only the base DN as ID for the domain.  This is helpful when using dsreplication.

---
 opends/src/quicksetup/org/opends/quicksetup/util/Utils.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java b/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
index 6a77442..e1e2856 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/util/Utils.java
@@ -1158,6 +1158,10 @@
     {
       arg = ne.getLocalizedMessage();
     }
+    else if (ne.getExplanation() != null)
+    {
+      arg = ne.getExplanation();
+    }
     else
     {
       arg = ne.toString(true);

--
Gitblit v1.10.0