Bug 1536834

Summary: Power Management Configuration message contains html tags that must not be there
Product: [oVirt] ovirt-engine Reporter: Polina <pagranat>
Component: Frontend.WebAdminAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact: Polina <pagranat>
Priority: unspecified    
Version: 4.2.1CC: bugs, gshereme, michal.skrivanek, mperina, pmatyas, tjelinek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-27 16:43:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
message screenshot attached none

Description Polina 2018-01-21 15:14:45 UTC
Created attachment 1384007 [details]
message screenshot attached

Description of problem: gui problem: fetching the fingerprint for host brings error message "You haven&#39;t configured ...."


Version-Release number of selected component (if applicable):
ovirt-engine-4.2.1.2-0.1.el7.noarch

How reproducible:100%


Steps to Reproduce:
1. edit host / advanced parameters /fetch fingerprint 

Actual results: brings a message with html tags that must not be there (image attached)


Expected results: normal text in message


Additional info:

Comment 1 Martin Perina 2018-01-24 11:53:32 UTC
The apostrophe character inside the message is not escaped in youHavntConfigPmMsg key inside UIConstants.properties (similarly to other usages of apostrophe character there). The escaping happens only in 4.2, the message is displayed correctly in 4.1.z. Greg, could this be somehow related to UI changes performed in 4.2?

Comment 2 Martin Perina 2018-01-26 19:20:02 UTC
*** Bug 1538728 has been marked as a duplicate of this bug. ***

Comment 3 Martin Perina 2018-01-26 19:20:50 UTC
As mentioned in [1], it's happening also in other dialogs.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1538728#c1

Comment 4 Greg Sheremeta 2018-01-27 16:43:32 UTC

*** This bug has been marked as a duplicate of bug 1537495 ***