Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1514503

Summary: Duplicate field called Type in Expression Field
Product: Red Hat CloudForms Management Engine Reporter: mkanoor
Component: ReportingAssignee: Yuri Rudman <yrudman>
Status: CLOSED CURRENTRELEASE QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: high    
Version: 5.9.0CC: hkataria, jhardy, mpovolny, obarenbo, simaishi, yrudman
Target Milestone: GAKeywords: TestOnly
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1530685 1531178 (view as bug list) Environment:
Last Closed: 2018-06-21 20:25:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1530685, 1531178    
Description Flags
Duplicate Types none

Description mkanoor 2017-11-17 15:30:31 UTC
Created attachment 1354211 [details]
Duplicate Types

Description of problem:
When creating an MiqExpression on the ExtManagementSystem object we see 2 fields with the same name called 'Provider: Type'.

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

How reproducible:

Steps to Reproduce:
1. Create an Expression builder on the ExtManagementSystem or Expression Method in Automate.
2. Click on the drop down for the field and see Provider: Type twice

Actual results:
See duplicates

Expected results:
Should have different names so a user would know what the different types are

Additional info:

The first type creates an expression that looks like
{"="=>{"field"=>"ExtManagementSystem-emstype_description", "value"=>"ManageIQ::Providers::Amazon::CloudManager"}, :token=>1}

The second expression looks like 
{"STARTS WITH"=>{"field"=>"ExtManagementSystem-type", "value"=>"ManageIQ::Providers::Amazon::CloudManager"}, :token=>1}

The conflicting fields are
* ExtManagementSystem-emstype_description 
* ExtManagementSystem-type

Comment 4 CFME Bot 2017-12-21 20:36:52 UTC
New commit detected on ManageIQ/manageiq/master:

commit 75d828d565b2ef43f0bc3b18dd0f37d0c5fd1e5d
Author:     Yuri Rudman <>
AuthorDate: Fri Dec 15 15:17:12 2017 -0500
Commit:     Yuri Rudman <>
CommitDate: Fri Dec 15 15:17:12 2017 -0500

    resolved ambiguous Provider:Type field when build MiqExpression

 locale/en.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)