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 70334 - Add Server wizard ignores user input
Summary: Add Server wizard ignores user input
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-13 14:27 UTC by Lukas Jungmann
Modified: 2005-12-20 14:00 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 Lukas Jungmann 2005-12-13 14:27:50 UTC
[200512122030]

-have appserver(8.2) with two domains (domain1, test) under $AS_HOME/domains
directory
-start IDE with new userdir
-go to add server instance wizard, step 2:

  -set platform location
  -choose "Register local default domain"
  -in domains combobox select "test" domain

-finish the wizard

=> registered domain is "domain1" instead of "test"

 Also the behaviour should be consistent with the description in IDE help.
Comment 1 Vince Kraemer 2005-12-13 21:48:18 UTC
forgotten to add listener when the default domain page was eliminated.

Add the listener.  Make sure that you don't reset the domain list when you
select an item in that list...
Comment 3 Vince Kraemer 2005-12-13 22:25:08 UTC
correct the target milestone
Comment 4 Lukas Jungmann 2005-12-14 10:37:30 UTC
v. in cont. build 20051214-0931
Comment 5 Vince Kraemer 2005-12-14 16:19:00 UTC
One of my reviewers found a bug in this fix.

If the user enters a valid install directory and then enters a NEW valid directory WITHOUT going through 
an invalid state, the list DOESN'T update to use the domains associated with the new install directory.

The test case is:

1. install sjsas8.2 in /foo/bar/sjsasA
2. install sjsas8.2 in /foo/bar/sjsasA2

3. Start NetBeans.

4. Start the add server instance wizard.

5. enter /foo/bar/sjsasA

wait for the ide to fill in the default local domains combo-box

6. change the Platform installation field to /foo/bar/sjsasA2 (by appending '2' to the value already in 
the field.

The combo-box doesn't get updated correctly....

Note, you can also acomplish this kind of switch by using the Browse button

I am working on fixing this today.
Comment 7 _ pcw 2005-12-14 22:13:32 UTC
I've reviewed this fix and it looks good now.
Comment 9 Lukas Jungmann 2005-12-15 02:26:27 UTC
V. in cont. build 20051215-0035, combo-box update works correctly too.

The only note I have is that if you go to the help from the second panel then
there you can find following sentence:
"Choose a domain from the list of accessible, unregistered domains found in the
default domain folder." which is currently wrong because in the list there are
always *all* domains instead of only unregistered ones. I would prefer to remove
the word "unregistered" from that sentence in the help for 5.0.
Comment 11 Lukas Jungmann 2005-12-15 20:36:24 UTC
Now it is OK from QE point of view. Merge all changes to release50 branch please.
Thanks.
Comment 12 Vince Kraemer 2005-12-16 20:09:42 UTC
checked into release50.

http://serverplugins.netbeans.org/servlets/ReadMsg?list=cvs&msgNo=1171
Comment 13 Lukas Jungmann 2005-12-20 14:00:55 UTC
v. in 200512192030 (release50)