Bug 1409526

Summary: Chargeback by Image cannot assign Rate for Label with special characters
Product: Red Hat CloudForms Management Engine Reporter: Einat Pacifici <epacific>
Component: ReportingAssignee: Ari Zellner <azellner>
Status: CLOSED CURRENTRELEASE QA Contact: Einat Pacifici <epacific>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: cpelland, fsimonce, hkataria, jhardy, jjozwiak, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container:chargeback
Fixed In Version: 5.8.0.6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1432098 (view as bug list) Environment:
Last Closed: 2017-06-12 17:46:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1432098    
Attachments:
Description Flags
two screenshots attached. none

Description Einat Pacifici 2017-01-02 12:12:52 UTC
Created attachment 1236604 [details]
two screenshots attached.

Description of problem:
When working with chargeback for container images and assigning a rate to a specific labelled image, after pressing Save button, the selected rate assignment is not seen. 


Version-Release number of selected component (if applicable):
5.7.0.17

How reproducible:
Always

Steps to Reproduce:
1.Define a reports Rate. e.g. RateImage2
2.Navigate to Assign (Rate) and select Assign to: Labelled Images
3.Select any label and in the assign drop down select RateImage2
4. Click Save


Actual results:
Screen showing: Basic Info --> Assign Rate is seen with empty data(see attached screenshot AfterSave.png)

Expected results:
A table with a single row showing assignment should be seen. 
This should be Similar to functionality of assigning rate to Container Projects. 
(see attached screenshot - chargebackProject.png)


Additional info:

Comment 2 Ari Zellner 2017-01-31 16:53:05 UTC
This isnt just a UI issue. When this happens, wrong chargeback assignments were made due to some labels having special characters.

Upstream PR: https://github.com/ManageIQ/manageiq/pull/13713

Comment 3 Federico Simoncelli 2017-02-09 16:41:47 UTC
*** Bug 1420813 has been marked as a duplicate of this bug. ***

Comment 5 Einat Pacifici 2017-03-23 11:45:24 UTC
Verified in 5.8.0.7. Assigned Rate is now seen when Save button is pressed.