Bug 1444794

Summary: Ampersand not rendering correctly in "Status of Roles for Servers in Zone"
Product: Red Hat CloudForms Management Engine Reporter: Peter McGowan <pmcgowan>
Component: UI - OPSAssignee: Dávid Halász <dhalasz>
Status: CLOSED CURRENTRELEASE QA Contact: Alex Newman <anewman>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: hkataria, jhardy, mpovolny, nachandr, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1445369 (view as bug list) Environment:
Last Closed: 2018-03-06 15:10:15 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1445369    

Description Peter McGowan 2017-04-24 10:18:22 UTC
Description of problem:
In Configuration -> Diagnostics -> Region or Zone, in the 'Roles by Servers' tab the Capacity and Utilization roles are described as "Role: Capacity &amp; Utilization xxx"  with the '&' being incorrectly rendered as '&amp'

Version-Release number of selected component (if applicable):
5.8.0.11-beta2.20170418170914_a53d2a7 

How reproducible:
Every time

Comment 4 CFME Bot 2017-04-24 15:18:14 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/5f20605a57e15e4b5f62b4ab5f04ff6da7ab450f

commit 5f20605a57e15e4b5f62b4ab5f04ff6da7ab450f
Author:     Dávid Halász <dhalasz>
AuthorDate: Mon Apr 24 16:24:01 2017 +0200
Commit:     Dávid Halász <dhalasz>
CommitDate: Mon Apr 24 16:24:01 2017 +0200

    Removed unnecessary escaping from assigned server role treenodes
    
    There is a content_tag around the escaped strings, therefore, it's
    obsolete to call html_escape as it has its own escaping mechanism.
    This also fixes the escaped &amp in the linked BZ.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1444794

 app/presenters/tree_node/assigned_server_role.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 6 Jozef Zigmund 2017-04-27 15:04:42 UTC
*** Bug 1445470 has been marked as a duplicate of this bug. ***