Bug 171941 - Need to change Directory Console version to 1.0
Need to change Directory Console version to 1.0
Status: CLOSED CURRENTRELEASE
Product: 389
Classification: Community
Component: Directory Console (Show other bugs)
7.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nathan Kinder
Viktor Ashirov
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-27 18:58 EDT by Nathan Kinder
Modified: 2015-12-07 12:11 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-12-07 12:11:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
CVS Diffs (15.35 KB, patch)
2005-10-28 13:38 EDT, Nathan Kinder
no flags Details | Diff
CVS Commit (1.59 KB, text/plain)
2005-10-28 14:01 EDT, Nathan Kinder
no flags Details

  None (edit)
Description Nathan Kinder 2005-10-27 18:58:05 EDT
The Directory Console version number needs to be changed to 1.0.  It also needs
to assume that it is working with version 1.0 of the Fedora Management Console.
Comment 1 Nathan Kinder 2005-10-28 13:38:11 EDT
Created attachment 120508 [details]
CVS Diffs

Adjusted the version number and branding.  I had to modify the checkVersion
method to deal with running in Console 1.0.  I also cleaned up references to
"consolesdk" in the Ant build files.  They should be "console" instead since we
dropped the "consolesdk" naming.
Comment 2 Nathan Kinder 2005-10-28 14:01:38 EDT
Created attachment 120511 [details]
CVS Commit

Checked into HEAD.  Reviewed by Noriko.
Comment 3 Nathan Kinder 2005-10-28 18:14:59 EDT
Noriko and I noticed an additional change that is needed for the checkVersion
method.  Here's the change:

Index: DSAdmin.java
===================================================================
RCS file: /cvs/dirsec/directoryconsole/src/com/netscape/admin/dirserv/DSAdmin.java,v
retrieving revision 1.2
diff -u -5 -t -r1.2 DSAdmin.java
--- DSAdmin.java        28 Oct 2005 18:01:34 -0000      1.2
+++ DSAdmin.java        28 Oct 2005 22:15:57 -0000
@@ -1234,11 +1234,11 @@
                 version = VersionInfo.getVersionNumber();
  
                 try {
                         Float f = new Float(version);
                         // Check if the console meets the minimum version
requirement
-                        if ((f != null) && (f.floatValue() > MINIMUM_VERSION)) {
+                        if ((f != null) && (f.floatValue() >= MINIMUM_VERSION)) {
                                 return true;
                         } else {
                                 DSUtil.showErrorDialog(frame, "neednewconsole",
version);
Comment 4 Nathan Kinder 2005-10-28 18:17:13 EDT
Additional checkVersion change checked into HEAD.  Reviewed by Noriko (thanks!).

Checking in DSAdmin.java;
/cvs/dirsec/directoryconsole/src/com/netscape/admin/dirserv/DSAdmin.java,v  <--
 DSAdmin.java
new revision: 1.3; previous revision: 1.2
done
Comment 5 Jenny Galipeau 2011-06-06 14:41:19 EDT
Please add steps to reproduce and verify thanks
Comment 6 Rich Megginson 2011-06-06 15:50:56 EDT
1) run the console
2) open the About... window
3) should report correct version - corresponds to the rpm version
Comment 7 Amita Sharma 2011-06-22 09:33:13 EDT
[root@testvm /]# rpm -qa | grep 389
389-adminutil-1.1.13-1.el6.x86_64
389-console-1.1.4-1.el6.noarch
389-ds-console-doc-1.2.5-1.el6.noarch
389-ds-base-1.2.8.2-1.el6.x86_64
389-admin-1.1.16-2.el6.x86_64
389-ds-console-1.2.5-1.el6.noarch
389-admin-console-doc-1.1.7-1.el6.noarch
389-ds-base-debuginfo-1.2.8.2-1.el6.x86_64
389-ds-base-libs-1.2.8.2-1.el6.x86_64
389-admin-console-1.1.7-1.el6.noarch
389-ds-1.2.1-2.el6.noarch

On Console 1.2.0


Hence VERIFIED.

Note You need to log in before you can comment on or make changes to this bug.