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 112138

Summary: If page deleted from PFE undo does not restore the jsp
Product: javaee Reporter: Yousuf Haider <yousufh>
Component: JSFAssignee: Joelle Lam <joellelam>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Yousuf Haider 2007-08-07 01:43:23 UTC
jdk 6

1. Create 2 pages and open up PFE.
2. Right click on one page and click on delete.
3. Click yes to confirm deletion of JSP page.

Now do undo.

This will revert back changes to the faces-config file but does not restore the jsp file. 

WA:

Workaround is to Right click on project-> Local History -> Revert Deleted
Comment 1 Yousuf Haider 2007-08-07 01:57:46 UTC
build:200708060000
Comment 2 Joelle Lam 2007-08-14 01:33:34 UTC
Agreed, I would like to implement the undo/redo before this release goes out.
Comment 3 Joelle Lam 2007-08-24 21:59:26 UTC
Okay, I did a partial fix of the undo for navigation rule deletion.  

IDE:-------------------------------------------------
IDE: [8/24/07 1:57 PM] Committing "Page Flow Editor" started
Checking in FacesModelPropertyChangeListener.java;
/cvs/web/jsf/navigation/src/org/netbeans/modules/web/jsf/navigation/FacesModelPropertyChangeListener.java,v  <-- 
FacesModelPropertyChangeListener.java
new revision: 1.26; previous revision: 1.25
done
IDE: [8/24/07 1:57 PM] Committing "Page Flow Editor" finished

But this does not fix the page deletion undo, this may be a much bigger issue.  I will need to talk to Petr about this.
Comment 4 Joelle Lam 2007-10-09 03:05:40 UTC
There is no way we will be able to complete this for 6.0. The partial fix will have to work for now.
Comment 5 Quality Engineering 2009-11-02 11:17:29 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX