Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1321352 - New Self_service ui does not support dynamic drop downs which populate values from automate
New Self_service ui does not support dynamic drop downs which populate values...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.5.0
Unspecified Unspecified
high Severity medium
: Beta 2
: 5.6.0
Assigned To: eclarizi
Shveta
ssui
: ZStream
Depends On:
Blocks: 1322023
  Show dependency treegraph
 
Reported: 2016-03-25 13:50 EDT by ldomb
Modified: 2016-06-29 11:44 EDT (History)
12 users (show)

See Also:
Fixed In Version: 5.6.0.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1322023 (view as bug list)
Environment:
Last Closed: 2016-06-29 11:44:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
picture of the dialogs side by side (109.77 KB, image/png)
2016-03-25 13:50 EDT, ldomb
no flags Details
drop down values show script error (71.08 KB, image/png)
2016-04-22 19:28 EDT, Shveta
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description ldomb 2016-03-25 13:50:06 EDT
Created attachment 1140348 [details]
picture of the dialogs side by side

Description of problem:
New Self_service ui does not support dynamic drop downs which populate values from automate

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

How reproducible:

create the ootb azure-single-vm-from-user-image  dialog pointing to the azure-single-vm-from-user-image orchestration template.

No values get populated into the drop-downs in the new self service ui. The old view works perfectly.


Steps to Reproduce:
1.create the ootb azure-single-vm-from-user-image  dialog pointing to the azure-single-vm-from-user-image orchestration template
2.check in the old view (everything works)
3.check in the self_service ui (nothing works)

Actual results:
No dropdowns are populated in the self_service ui

Expected results:
Dropdowns with dynamic values via automate methods should work!

Additional info:
I can demo it if you would like to see it live.
Comment 2 lkerner 2016-03-26 16:33:07 EDT
Even with tag control in the service dialog, I can't get the drop-down in the new self service UI to populate.
Comment 10 CFME Bot 2016-04-06 19:50:57 EDT
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/283aeb214e16e55fd1fa2db937d942c9144c762a

commit 283aeb214e16e55fd1fa2db937d942c9144c762a
Author:     Alberto Bellotti <abellott@redhat.com>
AuthorDate: Fri Apr 1 17:32:55 2016 -0400
Commit:     Alberto Bellotti <abellott@redhat.com>
CommitDate: Wed Apr 6 16:53:31 2016 -0400

    [api] Service Dialog content query update
    
    Update to make sure service dialogs "content" queries are refreshed
    by automate via a workflow when queried for a specific service_template
    or indirectly for a service.
    
    i.e. GET /api/service_templates/:id/service_dialogs/:dialog_id?attributes=content
         GET /api/service_templates/:id/service_dialogs
             ?expand=resources
             &attributes=content
         GET /api/services/:id/service_dialogs/:dialog_id?attributes=content
         GET /api/services/:id/service_dialogs
             ?expand=resources
             &attributes=content
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1321352

 app/controllers/api_controller/renderer.rb        | 13 +++++++++++--
 app/controllers/api_controller/service_dialogs.rb | 19 +++++++++++++++++++
 app/models/dialog.rb                              | 12 ++++++++++--
 3 files changed, 40 insertions(+), 4 deletions(-)
Comment 11 Shveta 2016-04-22 19:28 EDT
Created attachment 1149937 [details]
drop down values show script error

Drop down values shows "script error " . Regular UI shows correct values .
Build 
5.6.0.4-beta2.3.20160421172650_719e256
Comment 12 eclarizi 2016-04-26 11:35:07 EDT
Shveta, can you reproduce the issue and post the relevant part of the evm and automation logs? I can't seem to reproduce the issue in both places. The logs should give us a clearer picture of what's going on and what is causing the issue. Thanks!
Comment 13 Greg McCullough 2016-04-28 08:29:44 EDT
See request in comment #12
Comment 14 Shveta 2016-04-29 15:17:30 EDT
Not able to reproduce the issue again.
Verified in 5.6.0.4-beta2.3.20160421172650_719e256
Comment 16 errata-xmlrpc 2016-06-29 11:44:59 EDT
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-2016:1348

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