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 29661 - New Wizard does not set default package correctly for next screen after template selection
Summary: New Wizard does not set default package correctly for next screen after templ...
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
: 29437 29765 (view as bug list)
Depends on:
Blocks: 29439
  Show dependency tree
 
Reported: 2002-12-20 00:11 UTC by ssffleming
Modified: 2008-12-22 19:33 UTC (History)
1 user (show)

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 ssffleming 2002-12-20 00:11:17 UTC
Testing using Nevada EE build 12/19_4.  Note this works correctly on 12/18 kit,
so this is a new regression.  NT, JDK 1.4.1

Steps to reproduce:
Select a subfolder within a mounted filesystem.
Invoke the "New..." context menu item
Chose the template "Java Classes, Class"
Next
Observe that the wizard remembers the last subfolder selected by the user
rather than the subfolder selected in explorer when the "New..." context menu is invoked.
If you don't see this right away, repeat the steps using a different subfolder in step #1.

Making this P1 because it impacts automated tests for Q build, even though there is
a workaround.
Comment 1 ssffleming 2002-12-20 00:13:08 UTC
Change to P2, can workaround in automated tests ok
Comment 2 Marian Mirilovic 2002-12-20 09:57:47 UTC
It's reproducible in [nb_dev](20021220), butnot in the Q-build
candidate [nb_dev](20021218), so this won't be this week's Q-build
stopper.
Comment 3 Jan Lahoda 2002-12-20 10:14:49 UTC
To openide/wizard, I guess.
Comment 4 Marian Mirilovic 2002-12-20 11:52:20 UTC
I must take my last words back, it's reproducible in
[nb_dev](20021218) too.
Comment 5 Jiri Rechtacek 2002-12-20 14:06:20 UTC
*** Issue 29437 has been marked as a duplicate of this issue. ***
Comment 6 Jiri Rechtacek 2002-12-20 14:06:41 UTC
dkaspar's comment from issue 29437 how to reproduce:
How to reproduce:
1) Have two packages in explorer named pkg1, pkg2
2) Select pkg1 in Explorer and invoke "New..."
popup menu action on this node
3) Select "Java Classes|Main" template in appeared
NFT Wizard and press Next
4) NOTE - On the next step you could see pkg1
package node selected as "target location"
5) Select pkg2 package node as "target location"
6) Press Cancel
7) Select pkg1 in Explorer and invoke "New..."
popup menu action on this node
8) Select "Java Classes|Main" template in appeared
NFT Wizard and press Next
9) ERROR - On the next step there is still pkg2
package node selected as "target location" but
there should be pkg1

Comment 7 Jiri Rechtacek 2002-12-20 15:11:32 UTC
fixed, the target folder is start with clean folder.
The fix could be integrated in q-build branch if any.
Comment 8 Jiri Rechtacek 2002-12-20 15:12:36 UTC
fixed in maintrunk, see the previous comment
Comment 9 Marian Mirilovic 2003-01-03 09:50:03 UTC
*** Issue 29765 has been marked as a duplicate of this issue. ***
Comment 10 Marian Mirilovic 2003-01-08 12:33:09 UTC
verified in [nb_dev](20030108)