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 151601 - Managed Bean isn't deleted when it's folder is deleted
Summary: Managed Bean isn't deleted when it's folder is deleted
Status: RESOLVED DUPLICATE of bug 137476
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ potingwu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-28 14:56 UTC by Roman Mostyka
Modified: 2008-10-29 19:37 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 Roman Mostyka 2008-10-28 14:56:26 UTC
1. Create web application with JSF framework.
2. Rightclick web application's root node and choose "New > JSF Managed Bean".
3. Leave default bean name and add "my.test.stuff" for package.
4. Click "Files" tab, expand "src" node until added bean, rightclick "stuff" folder and choose "Refactor > Safely
Delete" and delete this folder.

Result: Folder is deleted with managed bean, but faces-config.xml still contain record for it.
When I did preview, I didn't see faces-config.xml in the tree, but it should be there.
Comment 1 _ potingwu 2008-10-29 19:37:30 UTC
This is somehow an intended behavior. While users working on 'Files', the IDE usually not considers it as a 'project
point of view' action. And hence it won't modify the other files because it's risky.

We are currently only supporting Safe Delete for Projects logical view related to the faces-config.xml contents. This is
most users do for their projects.


*** This issue has been marked as a duplicate of 137476 ***