Bug 1579405 - default selection of dropdown list is not displayed properly but still taken into account
Summary: default selection of dropdown list is not displayed properly but still taken ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.9.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.10.0
Assignee: eclarizi
QA Contact: Niyaz Akhtar Ansari
URL:
Whiteboard:
Depends On:
Blocks: 1583704
TreeView+ depends on / blocked
 
Reported: 2018-05-17 14:46 UTC by Felix Dewaleyne
Modified: 2021-12-10 16:10 UTC (History)
12 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1583704 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:03:41 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3459861 0 None None None 2018-05-25 11:48:13 UTC

Description Felix Dewaleyne 2018-05-17 14:46:40 UTC
Description of problem:
when a dropdown list element is set to use a default value, when the dialog is loaded through classic ui that selection is not shown in the interface but automation wise it is made. this creates confusion at user level.

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

How reproducible:
all the time

Steps to Reproduce:
1. create a dialog with a dropdown list (static list of values)
2. set a default selection
3. assign the dialog to a service
4. load the dialog through classic ui, provisioning the service

Actual results:
the dialog will show "nothing selected" instead of the default selection ; if using an automation based on that value the automation will still think the default has been selected. if trying to select the default value this will lead to confusing results for the rest of the dialog.

Expected results:
the default value is displayed as selected just like it currently does in self service ui


Additional info:
self service ui does not have this issue and for the same dialog will display the proper values as being selected.

Comment 4 Tina Fitzgerald 2018-05-17 18:09:43 UTC
Hi Felix,

I didn't realize you opened a new ticket for the Classic UI dialog issue:
Copying my comments from https://bugzilla.redhat.com/show_bug.cgi?id=1576873
........
Using the customer provided Service Dialog and Automate domains, the Classic UI Service Dialog worked properly for us in a 5.9.2.4 appliance.
Dennis raised a very good point in that the customer upgraded, as opposed to installing a new 5.9.2.4 version.

Can you find out the customer version prior to the upgrade, and the specific upgrade steps performed?
Once we have that information, I'd like to get QE involved to see if we can reproduce the issue.

If we're not able to make significant progress today, Erik Clarizio would be available at 11AM tomorrow for a call with the customer for a interactive debugging session.

Let me know if you have any questions.

Thanks,
Tina

Comment 5 Felix Dewaleyne 2018-05-18 12:29:30 UTC
I was able to replicate the behaviour on my own appliance on python.usersys.redhat.com which is also updated from 5.9.0 all the way... 

I'm happy to share access with the system if you need it.

the customer will not be available until Tuesday at 11am is 5pm for him.

Comment 6 Felix Dewaleyne 2018-05-18 13:26:48 UTC
I ran some tests

you need to create two tag categories, 

"tier_prod" and "tier_no_production" then populate them with a couple tags each so that the automation "tier" used in the sample will not fail.

a scripting error causes the dialog to properly display the default selection but if no scripting error occurs you will see the behaviour

Comment 8 Tina Fitzgerald 2018-05-18 13:33:15 UTC
Hi Felix,

That's great, thanks.

I passed along the information to Erik who will be looking into the issue today.

Thanks,
Tina

Comment 9 drew uhlmann 2018-05-18 16:27:47 UTC
Erik and I have determined that this is a patternfly issue because the backend has the right data for the defaults and forcing a jquery reload causes the right values to appear.

Comment 10 Tina Fitzgerald 2018-05-22 15:21:35 UTC
We believe this issue is resolved by:
https://github.com/ManageIQ/ui-components/pull/295
https://github.com/ManageIQ/manageiq-ui-classic/pull/3945

Comment 15 Niyaz Akhtar Ansari 2018-11-09 11:02:17 UTC
Able to see default selection of drop down list
Verified in Version 5.10.0.23.20181106165157_92dd189


Note You need to log in before you can comment on or make changes to this bug.