Bug 1775093 - Clicking 'Reset' when editing an embedded Ansible credential displays an incomplete UI page
Summary: Clicking 'Reset' when editing an embedded Ansible credential displays an inco...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.12.0
Assignee: Milan Zázrivec
QA Contact: Sudhir Mallamprabhakara
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1784189
TreeView+ depends on / blocked
 
Reported: 2019-11-21 12:08 UTC by Peter McGowan
Modified: 2020-10-26 16:13 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1784189 (view as bug list)
Environment:
Last Closed: 2020-10-26 16:13:53 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:
mfeifer: mirror+


Attachments (Terms of Use)

Description Peter McGowan 2019-11-21 12:08:12 UTC
Description of problem:
Clicking 'Reset' when editing an embedded Ansible credential displays an incomplete UI page. This page shows a 'Credential Type' label but no value, and the 'Cancel' button doesn't work. The only way to escape from the UI page is to click the Automation -> Ansible -> Credentials breadcrumb.

Version-Release number of selected component (if applicable):
CFME 5.11.0.28
Chrome 78 (Mac)

How reproducible:
every time


Steps to Reproduce:
1. In Automation -> Ansible -> Credentials, create a new credential of type 'Machine'.
2. Give the new credential a name, and username value, and a password, and save this.
3. Now edit the new credential from Configuration -> Edit this credential. Click the 'Reset' button.

Actual results:
The incorrect page details are displayed, and the Cancel button doesn't work.

Expected results:
The correct page details should be displayed, and the Cancel button should work.

Additional info:

Comment 3 Milan Zázrivec 2019-11-28 10:21:31 UTC
I'm unable to reproduce the described problem on my end. Is there parhaps an appliance
or a database showing this problem?

Thanks

Comment 5 Milan Zázrivec 2019-11-29 14:51:40 UTC
Thank you sir, fix: https://github.com/ManageIQ/manageiq-ui-classic/pull/6466

Comment 6 CFME Bot 2019-12-02 15:19:27 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/7e490b5648044bf1290211c3a918e77d829c809c
commit 7e490b5648044bf1290211c3a918e77d829c809c
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Fri Nov 29 09:46:20 2019 -0500
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Fri Nov 29 09:46:20 2019 -0500

    Don't access options when null

    https://bugzilla.redhat.com/show_bug.cgi?id=1775093

 app/assets/javascripts/controllers/ansible_credentials/ansible_credentials_form_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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