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 70312 - Useless implementation of "Browse..." button action
Summary: Useless implementation of "Browse..." button action
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:
: 70428 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-13 10:06 UTC by Lukas Jungmann
Modified: 2005-12-21 14:48 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 10:06:00 UTC
[build 200512122030]

In Add Server Instance wizard:

1st panel - select SJS AS

2nd panel - choose platform location (I used AS 8.2) and select "Create personal
domain"

3rd panel - press "Browse..." button and select some non-existent folder in
"Choose domain's location" dialog - user is not able to select non-existent
folder in the dialog nor close the dialog by pressing other button then "Cancel".

 Filed as P2 because of useless implementation of "Browse..." button action.
Comment 1 Vince Kraemer 2005-12-13 16:20:19 UTC
What platform are you on?

The chooser that opens when I press browse on Solaris lets me navigate to some
place in my directory hierarchy.

I can append a name to the selected directory and select 'Choose'.

The complete path of the non-existant folder is put into the Domain Folder field.

I am able to complete the Registration wizard.  A domain is created in the
directory I picked/specified.
Comment 2 Lukas Jungmann 2005-12-13 16:50:01 UTC
winXP-64bit with 32bit jdk 1.5.0_06 fcs
Comment 3 Lukas Jungmann 2005-12-14 17:55:01 UTC
*** Issue 70428 has been marked as a duplicate of this issue. ***
Comment 4 Vince Kraemer 2005-12-14 21:43:09 UTC
opps tested wrong build.

can dup on solaris and windows.

fix is easy.
Comment 5 Vince Kraemer 2005-12-14 21:57:30 UTC
regression from this change:

http://www.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/AddInstanceVisualDirectoryPanel.java?r1=1.2&r2=1.3

Specifically the change from a "regular" JFileChooser to a DomainChooser.  The
DomainChooser will not work when the user wants to create a personal instance.

Comment 7 Lukas Jungmann 2005-12-15 11:32:17 UTC
v. in 20051215-0910, please ask someone for review and merge the fix to
release50 branch

Thanks
Comment 10 _ ludo 2005-12-16 06:20:30 UTC
Fix ok for me.
Comment 11 Vince Kraemer 2005-12-17 01:05:08 UTC
checked into release50

http://serverplugins.netbeans.org/servlets/ReadMsg?list=cvs&msgNo=1171
Comment 12 Lukas Jungmann 2005-12-21 14:48:54 UTC
v. in release 5.0