Bug 1444794 - Ampersand not rendering correctly in "Status of Roles for Servers in Zone"
Summary: Ampersand not rendering correctly in "Status of Roles for Servers in Zone"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.9.0
Assignee: Dávid Halász
QA Contact: Alex Newman
URL:
Whiteboard:
: 1445470 (view as bug list)
Depends On:
Blocks: 1445369
TreeView+ depends on / blocked
 
Reported: 2017-04-24 10:18 UTC by Peter McGowan
Modified: 2018-03-06 15:10 UTC (History)
6 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1445369 (view as bug list)
Environment:
Last Closed: 2018-03-06 15:10:15 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 & 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. ***


Note You need to log in before you can comment on or make changes to this bug.