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 52664 - Server Registry node should be update after change name of AppServer node.
Summary: Server Registry node should be update after change name of AppServer node.
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Solaris
: P3 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-20 11:39 UTC by Victoria Zhukovskaya
Modified: 2005-02-21 21:29 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 Victoria Zhukovskaya 2004-12-20 11:39:53 UTC
AS plugin 041220 with NB 200412081800 (FCS)

1. Select Runtime tab. Right-click on node
"localhost:..." and select "Set As Default".
2. Select node "localhost:...". Set focus and
change text. Leave node. See new  name of AppServer.

actual result:
  See node Server Registry, there is old name of
default server.

expected result:
  Name on Server Registry node must be update
After You change name and leave AppServer node.
Comment 1 _ ludo 2005-01-05 00:35:03 UTC
bug in j2eeserver: the filter node for instances should not allow rename.
the original node extends abstractnode and by default, there canRename
returns false
Comment 2 Pavel Buzek 2005-02-21 21:29:22 UTC
Ludo: the filter note intentionally allows rename. The user can choose
the name in wizard so I see no reason why it could not be renamed.
BTW: Tomcat has a "Display name" property for this.

We removed the Default Server concept (you choose the target server in
project wizard and from there on each project remember it so the
default is not needed). I tried renaming and it works. The correct
name shows in server manager, in project properties and af course in
runtime tab.