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 49039 - Project selection from 1st step of New wizard ignored in location chooser panel
Summary: Project selection from 1st step of New wizard ignored in location chooser panel
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: REGRESSION, RELNOTE
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-09-15 07:19 UTC by pfelenda
Modified: 2004-10-13 11:24 UTC (History)
2 users (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 pfelenda 2004-09-15 07:19:52 UTC
[200409100847 qbuild]
Steps:
-----
prepositions : more project open
- Open new wizard select another project from
combo "Project"
- select e.g. properties file
- click Next step
-> You see seconds step in "Project" field
different name of the project you selected.
It depends which project is selected while opening
the wizard.
Comment 1 Jesse Glick 2004-09-15 17:37:33 UTC
Reproducible for me on Linux, 040914 custom. When did this get broken?
Comment 2 Jan Chalupa 2004-09-15 18:01:13 UTC
Reproducible in Beta 1 on Win NT. Apparently no one noticed so far.

Marking as beta2-candidate. Please evaluate. However, unless the fix
is absolutely simple, I don't think we have to put it in.
Comment 3 Jan Chalupa 2004-09-15 22:43:50 UTC
Thinking about it a little more, this is not a showstopper. And 
we're past the point where only showstoppers can be fixed for beta 
2. Please fix in trunk only.
Comment 4 Jiri Rechtacek 2004-09-16 12:04:43 UTC
Background evaluation: There is a problem with propagation of project
change to NewFileIterator, appears only on NewFileIterator (because
it's generic iterator for templates w/o custom iterator), the Java/Web
derived templates works good. Fix needs to change
NewFileWizard/Iterator, looks as not trivial to be integrate to beta2.

For Release note:
Problem: If a user invokes New file ... wizard from New|File...,
selects some generic file (i.e. Properties, Html, Folder) and then
changes the project (in wizard panel's combo box) this change doesn't
propagate to next panel. If user select one of
Java/Form/Web/JavaBeans/JUnit templates, it will work good.

Workaround: Invoke the wizard from New ... action in popup menu on
selected project.
Comment 5 Jiri Rechtacek 2004-10-13 11:24:25 UTC
Checking in src/org/netbeans/modules/project/ui/NewFileIterator.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/NewFileIterator.java,v
 <--  NewFileIterator.java
new revision: 1.4; previous revision: 1.3
done
Checking in src/org/netbeans/modules/project/ui/NewFileWizard.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/NewFileWizard.java,v
 <--  NewFileWizard.java
new revision: 1.15; previous revision: 1.14
done