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.
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 folder and choose "Refactor > Safe Delete". Result: Package and managed bean are removed and there is no possibility to Undo[Safe Delete] because this point is absent in popup menu.
It's the same reason and implementation as issue#137476. *** This issue has been marked as a duplicate of 137476 ***
Actually I can do Undo[Safe Delete] when I reproduce issue #137476, so it's not duplicate. Probably the root of the problem is the same (I'm not sure), but at least for tracking this bug it is better to have this issue separately. You can set dependency for this issue on issue #137476.
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. Not an urgent P2 because most users use Project view to manage their project. 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.
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