Bug 1336015
| Summary: | service requests don't show dynamic drop down selections | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Josh Carter <jocarter> | ||||
| Component: | UI - OPS | Assignee: | Milan Zázrivec <mzazrivec> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Shveta <sshveta> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.5.0 | CC: | aspurrie, cpelland, dajohnso, dclarizi, hkataria, jhardy, jocarter, mpovolny, nachandr, obarenbo, sboulden, simaishi | ||||
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | ||||
| Target Release: | 5.7.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | ui:service | ||||||
| Fixed In Version: | 5.7.0.0 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1337577 1337578 (view as bug list) | Environment: | |||||
| Last Closed: | 2017-01-11 20:13:58 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: | 1337577, 1337578 | ||||||
| Attachments: |
|
||||||
|
Description
Josh Carter
2016-05-13 20:25:45 UTC
Milan, Can you check if this is UI issue or a back end issue, it looks like selected value of a dynamic pull down is not being displayed on service request summary screen. Thanks, ~Harpreet Shveta, are you able to reproduce this in 5.6? 5.5.4? thx Created attachment 1185359 [details]
screenshot-290716
Screenshot showing the output of a service request from Services -> Requests.
The service was ordered from a service catalog item that contained a dynamic dropdown (updated from an Automate method) and a manual refresh button.
This is still able to reproduced in CFME 5.5.5.4
I've created a service catalog item with a dynamic dropdown that simply updates its list entries with the current time from an Automate method. ie;
dialog_hash = {}
dialog_hash[:first] = "First #{Time.now}"
dialog_hash[:second] = "Second #{Time.now}"
dialog_hash[:third] = "Third #{Time.now}"
$evm.object['required'] = true
$evm.object['protected'] = false
$evm.object['read_only'] = false
$evm.object['values'] = dialog_hash
A manual refresh button is used to update the dialog values.
When this service catalog item is submitted, and the request is then viewed from Services -> Requests, the dialog value shows 'None' and also shows the refresh button, per the attachment.
I have reproduced the issue on CFME 5.5.5.4 and note the following..... If "Automate -> Customization -> Dialog -> (test_dialog)" has the "Load Values on Init" then the hash key is shown on the submitted Service Request. It is not helpful to display the hash key. The user selected value on the Service Dialog was the "Description". The Approver (and Requester) will not understand the hash keys. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/77d6afda1171cfd90516c579423f045a8540a96d commit 77d6afda1171cfd90516c579423f045a8540a96d Author: Milan Zazrivec <mzazrivec> AuthorDate: Tue Aug 2 14:33:17 2016 +0200 Commit: Milan Zazrivec <mzazrivec> CommitDate: Tue Aug 2 14:33:17 2016 +0200 Fix value of dynamic dropdown list in prov. request details screen https://bugzilla.redhat.com/show_bug.cgi?id=1336015 app/views/shared/dialogs/_dialog_field_drop_down_list.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Fixed. Verified in 5.7.0.0.20160906172503_12f65cb |