Bug 1432098

Summary: Chargeback by Image cannot assign Rate for Label with special characters
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ReportingAssignee: Ari Zellner <azellner>
Status: CLOSED ERRATA QA Contact: Einat Pacifici <epacific>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: cpelland, fsimonce, hkataria, jhardy, jjozwiak, mpovolny, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container:chargeback
Fixed In Version: 5.7.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1409526 Environment:
Last Closed: 2017-04-12 14:34:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:
Bug Depends On: 1409526    
Bug Blocks:    

Comment 2 CFME Bot 2017-03-15 20:25:56 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/641bdff6f65535467978a6a41fb41b25e2eff0a0

commit 641bdff6f65535467978a6a41fb41b25e2eff0a0
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Fri Mar 10 17:59:24 2017 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Wed Mar 15 16:22:54 2017 -0400

    Merge pull request #13713 from zeari/master
    
    Escape label names and values when put into tags
    (cherry picked from commit 151e5c448f7e24dee9b23f207eee35243d4497c6)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1432098

 app/models/metric/chargeback_helper.rb         | 10 +++++++-
 app/models/mixins/assignment_mixin.rb          | 32 ++++++++++++++++++++++++--
 spec/models/chargeback_container_image_spec.rb |  2 +-
 3 files changed, 40 insertions(+), 4 deletions(-)

Comment 3 Einat Pacifici 2017-03-23 08:28:52 UTC
Verified in 5.7.2 - The assigned rate is now visible after pressing the Save button.

Comment 4 errata-xmlrpc 2017-04-12 14:34:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:0898