Bug 724437 (BRMS-382)

Summary: Discussion Atom feed is not a valid XML
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Locker <jlocker>
Component: BRM (Guvnor)Assignee: Jervis Liu <jliu>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: 5.1.0.ER1, 5.1.0.ER2CC: mproctor
Target Milestone: ---   
Target Release: 5.1.0.ER2   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-382
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-04 17:16:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
atom_discussion.xml none

Description Jiri Locker 2010-10-05 13:35:40 UTC
securitylevel_name: Public

Discussion entry id element contains unescaped ampersand '&', that is used to denote XML entities. This renders the feed to be an invalid XML document and, for example, Firefox Live Bookmarks cannot display the affected feed entries. The problematic code snippet (see the last line):

...
        <entry>
         <title>asdfasdf</title>
         <link rel="alternate" type="text/html"
              href="http://localhost:8080/jboss-brms/org.drools.guvnor.Guvnor/Guvnor.html#asset=4391399c-85a4-4769-93e6-3e1ce5519f27%26nochrome"/>
         <id>tag:4391399c-85a4-4769-93e6-3e1ce5519f27&discussion=1286211780510&author=admin</id>
...

Comment 1 Jiri Locker 2010-10-05 13:41:13 UTC
Attaching sample discussion Atom feed.
See the validation results http://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fjira.jboss.org%2Fsecure%2Fattachment%2F12337556%2Fatom_discussion.xml

Comment 2 Jiri Locker 2010-10-05 13:41:13 UTC
Attachment: Added: atom_discussion.xml


Comment 3 Jervis Liu 2010-10-24 07:59:17 UTC
Link: Added: This issue depends GUVNOR-677


Comment 4 Jervis Liu 2010-10-24 08:00:49 UTC
Fixed on branch: https://svn.jboss.org/repos/labs/labs/jbossrules/soa_branches/BRMS-5.1.1

Comment 5 Jiri Locker 2010-11-03 20:56:42 UTC
Link: Added: This issue is a dependency of BRMS-426


Comment 6 Jiri Locker 2010-11-03 20:58:06 UTC
Link: Removed: This issue is a dependency of BRMS-426 


Comment 7 Jiri Locker 2010-11-03 20:58:31 UTC
Link: Added: This issue related BRMS-426


Comment 8 Jiri Locker 2010-11-09 14:23:26 UTC
Link: Added: This issue is a dependency of JBQA-3766