Bug 1801862 - Missing dropdowns in service dialogs created from Ansible Tower templates
Summary: Missing dropdowns in service dialogs created from Ansible Tower templates
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.11.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.11.5
Assignee: Martin Hradil
QA Contact: Nandini Chandra
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-11 18:55 UTC by Nandini Chandra
Modified: 2020-06-16 17:41 UTC (History)
7 users (show)

Fixed In Version: 5.11.5.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-05 13:43:11 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:
pm-rhel: cfme-5.11.z+
mfeifer: mirror+


Attachments (Terms of Use)
Service dialog with missing dropdown (37.87 KB, image/png)
2020-02-11 18:58 UTC, Nandini Chandra
no flags Details
Service dialog with dropdown while editing (43.17 KB, image/png)
2020-02-11 18:59 UTC, Nandini Chandra
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:2020 0 None None None 2020-05-05 13:43:21 UTC

Description Nandini Chandra 2020-02-11 18:55:46 UTC
Description of problem:
-----------------------
I created a service dialog from an Ansible Tower template. The resulting service dialog didn't show a dropdown, like expected.


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


How reproducible:
----------------
Always


Steps to Reproduce:
-------------------
1.Add Tower. Wait for provider refresh to complete.
2.Navigate to Automation->Ansible Tower->Explorer. Click 'Templates'.
3.Select a Tower job template that uses a survey so that extra variables could be passed to Tower from CFME.The 'Answer Type' in the survey could be 'single select' or 'multiple select'.See attached screen shot of a Tower job template that uses survey.
4.On the Template details page, click 'Configuration', click 'Create service dialog from this template'.


Actual results:
---------------
The dropdown for the survey field is missing in the newly created service dialog. When I try to edit the dialog, the dropdown can be seen.
See attached screen shots.


Expected results:
----------------
The service dialog should correctly show dropdowns .


Additional info:
---------------

Comment 2 Nandini Chandra 2020-02-11 18:58:17 UTC
Created attachment 1662513 [details]
Service dialog with missing dropdown

Comment 3 Nandini Chandra 2020-02-11 18:59:03 UTC
Created attachment 1662514 [details]
Service dialog with dropdown while editing

Comment 4 Nandini Chandra 2020-02-11 19:03:50 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=1794872

Comment 6 Martin Hradil 2020-04-06 20:35:55 UTC
Fixed in https://github.com/ManageIQ/manageiq-ui-classic/pull/6630/

Comment 7 CFME Bot 2020-04-07 18:55:42 UTC
New commit detected on ManageIQ/manageiq-ui-classic/ivanchuk:

https://github.com/ManageIQ/manageiq-ui-classic/commit/9f4794d2aabfe5a3a3cf88c761d0b90b27dc3db5
commit 9f4794d2aabfe5a3a3cf88c761d0b90b27dc3db5
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Fri Jan 24 10:20:44 2020 +0000
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Fri Jan 24 10:20:44 2020 +0000

    Merge pull request #6630 from himdel/dialog-preview-i5279

    Dialog sample - fix render dropdowns

    (cherry picked from commit 447c0637360105f73820b5e588b6e683f27f579e)

    https://bugzilla.redhat.com/show_bug.cgi?id=1801862

 app/views/miq_ae_customization/_dialog_sample.html.haml | 24 +-
 1 file changed, 10 insertions(+), 14 deletions(-)

Comment 8 Nandini Chandra 2020-04-23 03:08:23 UTC
Verified in 5.11.5.1

Comment 11 errata-xmlrpc 2020-05-05 13:43:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:2020


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