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 106910 - Faces config file is not updated by folder move refactoring
Summary: Faces config file is not updated by folder move refactoring
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: _ potingwu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-16 07:40 UTC by _ sandipchitale
Modified: 2009-11-02 11:15 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 _ sandipchitale 2007-06-16 07:40:40 UTC
Steps:

1. Create a Web project with JSF Framework (not Visual Web Framework)
2. Create package p1
3. Create package p2
4. Create JSF Manage beans B1
5. Switch to files window
6. Drag and drop p1 on to p2
7. Click Preview in in the displayed refactoring dialog

Notice that there are no elements for updation of faces config file in the preview tree.
Comment 1 _ sandipchitale 2007-06-16 07:43:32 UTC
Invoking the Do Refactoring also does not update the faces config file i.e. its not only the UI issue.

Also the package or folder rename case seems to handle it correctly.
Comment 2 Petr Pisl 2007-06-18 16:39:22 UTC
Should be fixed in the trunk.
IDE: [6/18/07 5:38 PM] Committing "JavaServer Faces Support" started
Checking in src/org/netbeans/modules/web/jsf/refactoring/JSFMoveClassPlugin.java;
/cvs/web/jsf/src/org/netbeans/modules/web/jsf/refactoring/JSFMoveClassPlugin.java,v  <--  JSFMoveClassPlugin.java
new revision: 1.7; previous revision: 1.6
done
Checking in src/org/netbeans/modules/web/jsf/refactoring/JSFRenamePlugin.java;
/cvs/web/jsf/src/org/netbeans/modules/web/jsf/refactoring/JSFRenamePlugin.java,v  <--  JSFRenamePlugin.java
new revision: 1.10; previous revision: 1.9
done
Checking in src/org/netbeans/modules/web/jsf/refactoring/Occurrences.java;
/cvs/web/jsf/src/org/netbeans/modules/web/jsf/refactoring/Occurrences.java,v  <--  Occurrences.java
new revision: 1.8; previous revision: 1.7
done
Checking in src/org/netbeans/modules/web/jsf/refactoring/JSFRefactoringUtils.java;
/cvs/web/jsf/src/org/netbeans/modules/web/jsf/refactoring/JSFRefactoringUtils.java,v  <--  JSFRefactoringUtils.java
new revision: 1.2; previous revision: 1.1
done
Checking in test/unit/src/org/netbeans/modules/web/jsf/refactoring/OccurrencesTest.java;
/cvs/web/jsf/test/unit/src/org/netbeans/modules/web/jsf/refactoring/OccurrencesTest.java,v  <--  OccurrencesTest.java
new revision: 1.2; previous revision: 1.1
done
IDE: [6/18/07 5:38 PM] Committing "JavaServer Faces Support" finished
Comment 3 josin 2008-07-14 09:32:24 UTC
Throws NullPointerException, when clicked on Preview in the displayed refactoring dialog and it is reproducible.

Product Version: NetBeans IDE Dev (Build 200807101204)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)
Userdir: /home/josin/.netbeans/dev

java.lang.NullPointerException
	at org.netbeans.modules.refactoring.php.ui.tree.FolderTreeElement.getText(FolderTreeElement.java:100)
	at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:435)
	at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.createNode(RefactoringPanel.java:439)
	at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.access$800(RefactoringPanel.java:86)
	at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$5.run(RefactoringPanel.java:684)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 4 _ potingwu 2008-07-22 19:22:38 UTC
Refactoring under File view is still not fully supported, please see the JSF spec. Downgrade to P3.
Comment 5 _ potingwu 2008-11-20 23:31:03 UTC
.
Comment 6 Quality Engineering 2009-11-02 11:15:08 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX