Bug 1611527

Summary: unable to view validation or cancelation buttons in dynamic dialogs tied to a Service button
Product: Red Hat CloudForms Management Engine Reporter: Felix Dewaleyne <fdewaley>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 5.9.0CC: dmetzger, fdewaley, hkataria, iovadia, lavenel, mpovolny, nansari, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.10.0.11 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1612062 (view as bug list) Environment:
Last Closed: 2019-02-12 16:51:51 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: 1612062    

Description Felix Dewaleyne 2018-08-02 09:36:01 UTC
Description of problem:
when using a dynamic dialog called from a button, no validation or cancelation button can be seen after selections were made

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

How reproducible:
all the time

Steps to Reproduce:
1.create dialog with one dropdown item, single selection, not required
2.create an automation method that is set to populate that dialog
3.set the element to call the method on load
4.assign the dialog to a button
5.call the dialog
6. make a selection

Actual results:
the selection cannot be validated. there isn't a cancel button either.

Expected results:
the selection can be validated or cancelled out of

Additional info:
using a required field or non required field produces the same behaviour.
attempting to use 5.9.4-4 was not possible as a problem in that release prevents the creation of buttons (not possible to set an icon)

Comment 9 Felix Dewaleyne 2018-08-02 10:57:18 UTC
Updated Steps to Reproduce:
1.create dialog with one dropdown item, single selection, not required
2.create an automation method that is set to populate that dialog
3.set the element to call the method on load
4.assign the dialog to a service button 
5.call the dialog


results : no submit and cancel buttons

doesn't happen if creating the same button as "vm and instance." (aka it does display submit and cancel then)

Comment 11 CFME Bot 2018-08-02 20:00:09 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/9bc962736225df263122ebda483bac3bcbc3266f
commit 9bc962736225df263122ebda483bac3bcbc3266f
Author:     Harpreet Kataria <hkataria>
AuthorDate: Thu Aug  2 11:32:34 2018 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Thu Aug  2 11:32:34 2018 -0400

    Load new dialog for ServiceContainerTemplate type services

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

 app/services/dialog_local_service.rb | 5 +-
 spec/services/dialog_local_service_spec.rb | 18 +
 2 files changed, 21 insertions(+), 2 deletions(-)

Comment 12 Felix Dewaleyne 2018-08-03 08:46:30 UTC
*** Bug 1611526 has been marked as a duplicate of this bug. ***

Comment 15 CFME Bot 2018-08-06 18:22:55 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/5eba11ad1dbe3fecf636ffed33e4a966e0cd191d
commit 5eba11ad1dbe3fecf636ffed33e4a966e0cd191d
Author:     Erik Clarizio <eclarizio>
AuthorDate: Mon Aug  6 12:54:37 2018 -0400
Commit:     Erik Clarizio <eclarizio>
CommitDate: Mon Aug  6 12:54:37 2018 -0400

    Support all service types for dialog buttons

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

 app/services/dialog_local_service.rb | 5 +-
 spec/services/dialog_local_service_spec.rb | 21 +
 2 files changed, 25 insertions(+), 1 deletion(-)

Comment 16 CFME Bot 2018-08-08 12:32:52 UTC
New commit detected on ManageIQ/manageiq-ui-classic/gaprindashvili:

https://github.com/ManageIQ/manageiq-ui-classic/commit/5b2d695d50fb7e7d9bfe7e909eca8b1b5e4f7013
commit 5b2d695d50fb7e7d9bfe7e909eca8b1b5e4f7013
Author:     Erik Clarizio <eclarizio>
AuthorDate: Mon Aug  6 12:54:37 2018 -0400
Commit:     Erik Clarizio <eclarizio>
CommitDate: Mon Aug  6 12:54:37 2018 -0400

    Support all service types for dialog buttons

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

 spec/services/dialog_local_service_spec.rb | 19 +
 1 file changed, 19 insertions(+)

Comment 17 Niyaz Akhtar Ansari 2018-09-04 13:49:24 UTC
Verified in  Version 5.10.0.14.20180831154906_2f9a1dd