Bug 1442232

Summary: Dropdown field displays first value instead of second in the Dialog options section of Request Details
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: lgalis
Status: CLOSED WONTFIX QA Contact: Dmitry Misharov <dmisharo>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: dmetzger, dmisharo, gmccullo, hkataria, jhardy, jprause, lgalis, mkanoor, mpovolny, obarenbo, tfitzger
Target Milestone: GAKeywords: Reopened, ZStream
Target Release: 5.8.5   
Hardware: All   
OS: All   
Whiteboard: ui:ansible:service
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1436701 Environment:
Last Closed: 2019-01-24 19:44:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1436701    
Bug Blocks:    
Attachments:
Description Flags
Screenshot of the bug none

Comment 2 CFME Bot 2017-04-13 20:08:27 UTC
New commit detected on ManageIQ/manageiq-ui-classic/fine:
https://github.com/ManageIQ/manageiq-ui-classic/commit/04030c620bd118aa4ee323c3a0bcb662a4be2fcc

commit 04030c620bd118aa4ee323c3a0bcb662a4be2fcc
Author:     Dan Clarizio <dclarizi>
AuthorDate: Thu Apr 13 10:57:17 2017 -0700
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Apr 13 16:06:14 2017 -0400

    Merge pull request #1006 from lgalis/display_second_value_for_dropdown_in_dialog
    
    Show the display value for the dropdown in the automation dialog
    (cherry picked from commit 612d662e4eb2dff99ae121f0ca5c0803612ac876)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1442232

 app/helpers/application_helper/dialogs.rb          | 16 ++++++++
 .../dialogs/_dialog_field_drop_down_list.html.haml |  5 +--
 spec/helpers/application_helper/dialogs_spec.rb    | 46 ++++++++++++++++++++++
 .../_dialog_field_drop_down_list.html.haml_spec.rb | 18 +++++++++
 4 files changed, 82 insertions(+), 3 deletions(-)
 create mode 100644 spec/views/shared/dialogs/_dialog_field_drop_down_list.html.haml_spec.rb

Comment 3 Dmitry Misharov 2017-04-24 09:14:13 UTC
Created attachment 1273559 [details]
Screenshot of the bug

Still some digit is present instead of Credential name. Tested on 5.8.0.11-beta2.20170418170914_a53d2a7.

Comment 11 lgalis 2018-04-25 19:13:50 UTC
The dialogs have been re-worked - need to follow up with the automation team on teh backend work to save the 'description' value in the request.

Comment 14 Red Hat Bugzilla 2023-09-14 03:56:23 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days