Bug 1037871

Summary: Rendered views are not displaying text like &ENTITY; properly.
Product: [Community] PressGang CCMS Reporter: Matthew Casperson <mcaspers>
Component: Web-UIAssignee: Lee Newson <lnewson>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.3CC: cbredesen, jmorgan, lnewson
Target Milestone: ---   
Target Release: 1.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-23 23:43:56 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:

Comment 1 Lee Newson 2013-12-11 05:41:58 UTC
Fixed in 1.4-SNAPSHOT build 201312111516

This was caused by two things:

1. The escapeAllCustomEntites() method was attempting to replace all entities because it was using "&amp;" to check against a list that only had entity names.
2. The replace that was being performed was being done multiple times, so since there were 7 "&amp;" entities in the topic the output for each "&amp;" was it being escaped 7 times. eg: "&amp;amp;amp;amp;amp;amp;amp;"

Note: This version is currently live on the development/test server (see topic 49539).

Comment 2 Matthew Casperson 2014-01-27 23:44:44 UTC
Confirmed