Bug 1436701

Summary: Dropdown field displays first value instead of second in the Dialog options section of Request Details
Product: Red Hat CloudForms Management Engine Reporter: Dmitry Misharov <dmisharo>
Component: AutomateAssignee: lgalis
Status: CLOSED WONTFIX QA Contact: Dmitry Misharov <dmisharo>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: dclarizi, dmisharo, gmccullo, hkataria, jhardy, mkanoor, mpovolny, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: cfme-future   
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:
: 1442232 (view as bug list) Environment:
Last Closed: 2018-12-11 16:51:37 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: 1442232    
Attachments:
Description Flags
Screenshot of the bug
none
Credenetial name
none
Blank credential
none
Blank credential none

Description Dmitry Misharov 2017-03-28 13:11:06 UTC
Created attachment 1266951 [details]
Screenshot of the bug

Description of problem:
Machine Credential shows always <None> in Request Details of the ordering Ansible Catalog Item.

Version-Release number of selected component (if applicable):
5.8.0.7-nightly.20170327132846_fbd5ebf

How reproducible:
Always

Steps to Reproduce:
1. Enable Embedded Ansible Role.
2. Add some project, credential, inventory and template via embedded ansible tower ui.
3. Navigate Services/Catalogs.
4. Create a Catalog.
5. Create an "Ansible Playbook" Catalog Item and turn on "Display in Catalog" switcher. Choose created catalog.
6. Order the service.
7. Navigate to Services/Requests.
8. Open the latest request details.


Actual results:
Machine Credential shows <None>

Expected results:
Machine Credential should show actual credential.

Comment 2 Greg McCullough 2017-03-29 14:22:33 UTC
Not sure I would call this a dup, but I think the root cause is bug 1436717.  Once that is resolve this BZ should be re-tested.

Comment 3 Greg McCullough 2017-04-05 19:10:58 UTC
Please retested with the fix for bug 1436717.

Comment 4 Dmitry Misharov 2017-04-06 11:31:58 UTC
Created attachment 1269347 [details]
Credenetial name

Retested on 5.8.0.9-alpha2.20170404195944_1d7ece4. I chose some credential during the ordering the service and some digit appeared in the details screen of the request.

Comment 5 Dmitry Misharov 2017-04-06 11:34:20 UTC
Created attachment 1269350 [details]
Blank credential

If default credential was chosen then in the request screen that filed will be blank.

Comment 6 Dmitry Misharov 2017-04-06 11:35:21 UTC
Created attachment 1269351 [details]
Blank credential

Comment 7 mkanoor 2017-04-10 15:10:32 UTC
It looks like we are now showing the credential but its ID instead of name.
Assigning to Laura