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 106966

Summary: Safe Delete of JSF managed bean doesn't work
Product: editor Reporter: Jan Horvath <jhorvath>
Component: RefactoringAssignee: Jan Becicka <jbecicka>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: Macintosh   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jan Horvath 2007-06-18 12:12:11 UTC
build 200706171800

-create web application with JSF framework
-create JSF managed bean
-try to Safe Delete this bean
-warning about references in faces-config.xml is displayed,
when I click to Refactor button, warning is displayed again and again.
-ERROR: reference in faces-config.xml should be deleted without any warning
Comment 1 Petr Pisl 2007-06-18 12:48:58 UTC
There is only one reference to the managed bean and it's from the faces-config.xml. The refactoring Safe Delete dialog,
shouldn't display the warning in this case. Jan, could you look at this. 
Comment 2 Jan Becicka 2007-06-19 06:14:33 UTC
Checking in api/src/org/netbeans/modules/refactoring/api/AbstractRefactoring.java;
/cvs/refactoring/api/src/org/netbeans/modules/refactoring/api/AbstractRefactoring.java,v  <--  AbstractRefactoring.java
new revision: 1.10; previous revision: 1.9
done
Checking in java/src/org/netbeans/modules/refactoring/java/plugins/SafeDeleteRefactoringPlugin.java;
/cvs/refactoring/java/src/org/netbeans/modules/refactoring/java/plugins/SafeDeleteRefactoringPlugin.java,v  <-- 
SafeDeleteRefactoringPlugin.java
new revision: 1.18; previous revision: 1.17
done
Comment 3 Jan Horvath 2007-06-19 09:49:42 UTC
v