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 63034 - Rename project action deletes subprojects
Summary: Rename project action deletes subprojects
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-25 10:43 UTC by Radko Najman
Modified: 2005-09-05 10:10 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 Radko Najman 2005-08-25 10:43:28 UTC
If you rename project which contains other projects in the project folder, these
projects are deleted.

To simply reproduce it just create Enterprise Application project, let Create
EJB Module and Create Web Application Module check boxes checked and try to
rename the Enterprise Application project. EJB and Web Modules will be deleted.
Comment 1 Jan Lahoda 2005-08-25 10:46:18 UTC
Caused by rewrite from Files to FileObjects, I am already fixing it.
Comment 2 Jan Lahoda 2005-08-25 12:59:40 UTC
Fixed:
Checking in
src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementation.java;
/cvs/projects/projectuiapi/src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementation.java,v
 <--  DefaultProjectOperationsImplementation.java
new revision: 1.2; previous revision: 1.1
done
Checking in
test/unit/src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementationTest.java;
/cvs/projects/projectuiapi/test/unit/src/org/netbeans/modules/project/uiapi/DefaultProjectOperationsImplementationTest.java,v
 <--  DefaultProjectOperationsImplementationTest.java
new revision: 1.2; previous revision: 1.1
done