Description of problem: Created a dynamic drop down element that is populated by an automate expression method. When using this dialog (for a service or button) the drop down element is populated with the correct attributes, however I can not select any of them to submit. This does not seem to be a problem with radio button elements, so far only with drop down elements. FWIW the expression object for the autoamte expression method is: ManageIQ::Providers::InfraManager::Template And the expression is: Template:In My LDAP Group?='true' Version-Release number of selected component (if applicable): CFME 5.9.2 How reproducible: always Steps to Reproduce: 1. Create a method that is based off of an expression 2. Create a dialog with a dynamic drop down element that points to the custom expression automate method 3. Create a service that uses the dialog created in step 2. 4. Order the service and see that the drop down element has choices, however one can not select any of them. Actual results: Can not select a value in the drop down element. Expected results: Should be able to select a value from the drop down element. Additional info: Reproduced on 10.13.145.83 admin:smartvm Created a button for VMs that has both drop down and radio buttons. The button goup is Test and the button is Expression Method. Also the catalog RHEV => Template that shows the issue too.
Niyaz, Can you check this scenario against latest master and update the bz with your comments. - Sudhir
The appliance listed is 5.9.2.4 which has a known patternfly issue with dropdowns of this sort. Since I can do a jquery refresh on the field and see that it has the right value. We believe that this is fixed by the changes that Erik made recently, the one here: https://github.com/ManageIQ/ui-components/pull/295. This isn't a backend issue.
Per comment 5, We think issue has been fixed with latest PRs. Waiting for QE to validate.
@Tina : This is not fixed on latest upstream . We should be verifying on next upstream build then I suppose ?
Created attachment 1446788 [details] domain attached Domain for future testing
Created attachment 1446789 [details] dilaog Dialog used for testing
@Tina - Per https://bugzilla.redhat.com/show_bug.cgi?id=1583694#c4, QE used Upstream build master.20180530013347_bee8c3b to validate this BZ. I have confirmed with Satoe that this upstream build had pr 295. So, maybe the fix hasn't fixed the issue.. maybe??
I looked at the QE database and the dropdown doesn't have an entry point set. Screenshot attached.
Created attachment 1446794 [details] No dynamic method defined for dropdown
I apologize, my mistake, Spoke too soon, I see the expression method from Yoders domain. That expression method is returning an empty list. I have added an inline method and an expression method which returns a single VM. That seems to work. I tested with both an inline method as well as an expression method. Please re-verify.
The expression Templates in my LDAP Group is empty. Attached is a screenshot of that.
Created attachment 1446808 [details] The expression Templates in My Ldap group is empty
I spoke to Yoder about this, in order to use his expression you need to configure LDAP and have a Template be owned by the LDAP group. In order to create a similar filter, I have added a expression method Vm or Templates owned by me. So when you login in as "admin" you should see a single template called "damnSmallUnix" in the dropdown.
Hi Sudhir, Per comment 16, this is working properly, depending on what expression is used. Do you want to validate that before I close this as not a bug? Thanks, Tina
Niyaz please verify this again based on new comments.
Created attachment 1447961 [details] Values available I have followed the steps based on new comments on upstream master.20180530202952_f827149. It works fine.I can see and select the values.
Hi Shveta, Can you test this against the latest 5.9 build? Thanks, Tina
Hi Tina, It works fine in latest 5.9.3.4