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 137476

Summary: Managed Bean isn't removed from faces-config.xml by folder deleting
Product: javaee Reporter: Roman Mostyka <romanmostyka>
Component: JSFAssignee: Alexey Butenko <alexeybutenko>
Status: RESOLVED WONTFIX    
Severity: blocker CC: pjiricka
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173299    

Description Roman Mostyka 2008-06-17 19:09:59 UTC
1. Create web application with "JSF" framework.
2. Add 2 managed beans with the same name ("NewJSFManagedBean") and with different package names ("test" and "test.test").
3. Open "Files" view.
4. Rightclick test.test folder and choose "Refactor > Safe Delete".

Result: Package and managed bean are removed, but nothing is removed from faces-config.xml.
Comment 1 _ potingwu 2008-06-17 19:49:00 UTC
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.

Based on the concept, it's still risky to update the faces-config.xml when users hack the Files. We may not support this
in the near future.
Comment 2 _ potingwu 2008-06-17 19:54:09 UTC
*** Issue 137477 has been marked as a duplicate of this issue. ***
Comment 3 _ potingwu 2008-10-29 19:37:29 UTC
*** Issue 151601 has been marked as a duplicate of this issue. ***
Comment 4 Martin Balin 2016-07-07 08:56:38 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss