Bug 1321352 - New Self_service ui does not support dynamic drop downs which populate values from automate
Summary: New Self_service ui does not support dynamic drop downs which populate values...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: Beta 2
: 5.6.0
Assignee: eclarizi
QA Contact: Shveta
URL:
Whiteboard: ssui
Depends On:
Blocks: 1322023
TreeView+ depends on / blocked
 
Reported: 2016-03-25 17:50 UTC by ldomb
Modified: 2016-06-29 15:44 UTC (History)
12 users (show)

Fixed In Version: 5.6.0.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1322023 (view as bug list)
Environment:
Last Closed: 2016-06-29 15:44:59 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description ldomb 2016-03-25 17:50:06 UTC
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 20:33:07 UTC
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 23:50:57 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/283aeb214e16e55fd1fa2db937d942c9144c762a

commit 283aeb214e16e55fd1fa2db937d942c9144c762a
Author:     Alberto Bellotti <abellott>
AuthorDate: Fri Apr 1 17:32:55 2016 -0400
Commit:     Alberto Bellotti <abellott>
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 23:28:39 UTC
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 15:35:07 UTC
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 12:29:44 UTC
See request in comment #12

Comment 14 Shveta 2016-04-29 19:17:30 UTC
Not able to reproduce the issue again.
Verified in 5.6.0.4-beta2.3.20160421172650_719e256

Comment 16 errata-xmlrpc 2016-06-29 15:44:59 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-2016:1348


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