This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 59464 - Incorrect Display Name
Summary: Incorrect Display Name
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2005-06-01 09:59 UTC by jlaskowski
Modified: 2005-11-01 12:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jlaskowski 2005-06-01 09:59:43 UTC
The following snippet of the
o.n.modules.j2ee.weblogic9.ui.wizard.WLInstantiatingIterator.instantiate()
method says it all:

        // build the default display name
        String displayName = NbBundle.getMessage(ServerPropertiesPanel.class,
"INSTANCE_DISPLAY_NAME_PREFIX") + " [" + this.host + ":" + this.port +"]";
        
        // if a user entered a custom display name, we should use it, otherwise
        // use the default one
        if (getDisplayName() != null &&
!getDisplayName().equals(NbBundle.getMessage(WLDeploymentFactory.class,
"TXT_displayName"))) { // NOI18N
            displayName = getDisplayName();
        }

And as you can see if a user does *not* change anything the name *will* be
changed to "WebLogic" (the value of INSTANCE_DISPLAY_NAME_PREFIX) albeit it
should be "BEA WebLogic Application Server 9.0" (the value of TXT_displayName)
as (s)he agreed to.
Comment 1 Pavel Buzek 2005-08-16 03:43:00 UTC
simple fix
Comment 2 Sherold Dev 2005-09-19 14:40:07 UTC
F.

Checking in org/netbeans/modules/j2ee/weblogic9/ui/wizard/Bundle.properties;
/cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.3; previous revision: 1.2
done
Checking in
org/netbeans/modules/j2ee/weblogic9/ui/wizard/WLInstantiatingIterator.java;
/cvs/serverplugins/weblogic9/src/org/netbeans/modules/j2ee/weblogic9/ui/wizard/WLInstantiatingIterator.java,v
 <--  WLInstantiatingIterator.java
new revision: 1.4; previous revision: 1.3
done
Comment 3 Michal Mocnak 2005-11-01 12:02:00 UTC
Verified