History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-681
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Steve Luo
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Failed rendering PMD violations panel when character '<' exists in the rule description

Created: 13/Oct/10 03:44 PM   Updated: 14/Oct/10 02:24 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.13

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
For example, below violation will lead to an unexpected exception when viewing PMD violations report:

The String literal "<<<" appears 4 times in this file; the first occurrence is on line 149

The exception looks like:

WicketMessage: Malformed tag (line 7, column 34)
[markup = onclick="window.open('http://pmd.sourceforge.net/rules/strings.html#AvoidDuplicateLiterals', 'AvoidDuplicateLiterals')">

 ]
                        
   The String literal "<<<" appears 4 times in this file; the first occurrence is on line 149
                                            

                                                onclick="window.open('http://pmd.sourceforge.net/rules/strings.html#AvoidDuplicateLiterals', 'AvoidDuplicateLiterals')">
                        
                        ]
                        
                                                    The String literal "<<<" appears 4 times in this file; the first occurrence is on line 149
                                             , index = 1, current = [Raw markup]]

Root cause:

java.text.ParseException: Malformed tag (line 7, column 34)
     at org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:305)
     at org.apache.wicket.markup.parser.XmlPullParser.nextTag(XmlPullParser.java:421)
     at org.apache.wicket.markup.parser.filter.WicketTagIdentifier.nextTag(WicketTagIdentifier.java:77)
     at org.apache.wicket.markup.parser.filter.HtmlHandler.nextTag(HtmlHandler.java:78)

....



 All   Comments   Work Log   Change History      Sort Order:
Change by Steve Luo [14/Oct/10 02:24 PM]
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Assignee Steve Luo [ steve ]

Change by PMEase JIRA Administrator [14/Oct/10 02:24 PM]
Fix Version/s 3.0.13 [ 11190 ]