Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316431

Summary: Error annotations not removed from the JSP structured text editor upon resolution
Product: [WebTools] WTP Source Editing Reporter: Rakesh <rakes123>
Component: jst.jspAssignee: Rakesh <rakes123>
Status: CLOSED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: ccc, nsand.dev
Version: 3.0.5Flags: nsand.dev: review+
Target Milestone: 3.0.5 P   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch ccc: iplog+

Description Rakesh CLA 2010-06-10 05:09:52 EDT
Build Identifier: M20091008-1320

Error annotations not removed from the JSP structured text editor upon resolution

                                                         
Steps to recreate the problem                                                  
================================================================                
1.  Create a Dynamic Web Project.                                              
2.  Create a JSP file.  File name must end with ".jsp"                          
3.  Double click the newly created file to open it in the JSP                  
Structured Text Editor                                                          
4.  Add the following content to the JSP                                        
<jsp:body>                                                                      
<P class="button">put some text here</P>                                        
</jsp:body>                                                                    
5.  Press CTRL+s to save the document.                                          
6.  Highlight the </P> HTML end Tag and press the Delete key to remove          
the tag.                                                                        
7.  Note that the <P ...> HTML element is now flagged with an Error            
Annotation indicating that the end tag is missing.                              
8.  Press CTRL+s to save the document.                                          
9.  Add the  </P> back to the end of the text to close the HTML element.        
10.  Press CTRL+s to save the document.                                        
11.  Note that the Error Annotation remains and continues to indicate          
that the end tag is missing.                                                    
At this point there are only two ways to remove the Error Annotation.          
1)  Close the JSP file and reopen it in the JSP Structured Text Editor          
2)  Remove any JSP tag (i.e. </jsp:body>), save the document, and then          
add the JSP tag back and save the document.  

Reproducible: Always
Comment 1 Rakesh CLA 2010-06-10 05:13:10 EDT
Created attachment 171617 [details]
patch

Patch for Bugzilla corresponding to WI 48684 in Jazz(7552 stream)
Comment 2 Nick Sandonato CLA 2010-06-15 16:08:14 EDT
Looks good. Thanks, Rakesh.
Comment 3 Carl Anderson CLA 2010-06-22 08:51:09 EDT
Committed to R3_0_5_patches
Comment 4 Rakesh CLA 2010-06-30 05:39:20 EDT
Verified on M20091008-1320 build.