From 1528728ac3846e0a4bffaf04f2651d3e8bb02007 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Fri, 14 Sep 2007 16:03:44 +0000
Subject: [PATCH] finished registering the upgrade/reversion issue; fixed some typos and minor issues preventing the upgrader from notifying the user about the issue

---
 opends/src/quicksetup/org/opends/quicksetup/upgrader/ReversionIssueNotifier.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/upgrader/ReversionIssueNotifier.java b/opends/src/quicksetup/org/opends/quicksetup/upgrader/ReversionIssueNotifier.java
index c29fc1a..00b2f4e 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/upgrader/ReversionIssueNotifier.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/upgrader/ReversionIssueNotifier.java
@@ -74,17 +74,21 @@
     if (hasIssues()) {
       List<Directive> issues = getIssues();
       if (!isSupported()) {
+        MessageBuilder reason = new MessageBuilder();
         if (issues != null) {
           for (Directive directive : issues) {
             LOG.log(Level.INFO, "Unsupported reversion details: " +
                     directive.getMessage());
+            reason.append(directive.getMessage());
+            reason.append(EOL);
           }
         }
         throw new ApplicationException(
             ReturnCode.APPLICATION_ERROR,
                 INFO_REVERSION_ORACLE_UNSUPPORTED.get(
                         currentBuildInfo.toString(),
-                        newBuildInfo.toString()),
+                        newBuildInfo.toString(),
+                        reason.toMessage()),
                 null);
       } else {
         if (ui != null) {

--
Gitblit v1.10.0