Description of problem: Creating a report based on Virtual Machines and selecting a custom attribute field with spaces will not properly save or generate the expected data. The field is saved up to the first space. A custom attribute name of "Sample Attribute" will show properly on the VM and in the report editing will show as "Custom Attribute: Sample Attribute", but when the report is previewed, saved, edited, or ran the selected field will be "Custom Attribute: Sample". When editing the report the "Custom Attribute: Sample Attribute" is listed in the Available Fields section. Version-Release number of selected component (if applicable): 5.8.2.3.20171016155816_aaec796 Steps to Reproduce: 1. Assign a custom attribute to a VM with a name containing a space (eg "Sample Attribute") 2. Create a report and select "Custom Attribute: Sample Attribute" as one of the fields to report on. 3. Save the report 4. Run the report 5. Edit the report. Actual results: * The generated report has no data for the custom attribute column. * When editing the report the Selected Fields section shows "Custom Attribute: Sample" and the Available Fields section shows "Custom Attribute: Sample Attribute" Expected results: * The generated report has the data for the selected custom attribute * When editing the report the Selected Fields section shows "Custom Attribute: Sample Attribute" and is not in the Available Fields section. Additional info:
*** This bug has been marked as a duplicate of bug 1553750 ***