Bug 1459171

Summary: Cannot filter report with custom attributes
Product: Red Hat CloudForms Management Engine Reporter: Libor Pichler <lpichler>
Component: ReportingAssignee: Libor Pichler <lpichler>
Status: CLOSED CURRENTRELEASE QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: cpelland, jhardy, nansari, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1459180 1459230 (view as bug list) Environment:
Last Closed: 2018-03-06 15:19:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1459180, 1459230    

Description Libor Pichler 2017-06-06 12:59:38 UTC
Description of problem:
Cannot filter report when custom attributes are used in the condition from expression editor and such attributes are not used in selected fields.

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

How reproducible:


Steps to Reproduce:
1. Add to any Vm (let assume with name test_vm) custom attribute 'test' with value 'vm'.
2. Create report based on Virtual Machines and add some column EXPECT TO column 'Custom Attribute: test'
3. go to filter tab and create the condition: 
Virtual Machine: Custom Attribute: Name = 'vm'.
4. Save and queue report, see results.

Actual results:
No vms are listed.

Expected results:
Vm with name test_vm is listed.

Additional info:

Comment 5 Niyaz Akhtar Ansari 2017-11-06 10:53:32 UTC
Verified in Version 5.9.0.5