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 - Safe Delete of JSF managed bean doesn't work
Summary: Safe Delete of JSF managed bean doesn't work
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P2 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-18 12:12 UTC by Jan Horvath
Modified: 2007-06-19 09:49 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 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