Bug 1640608 - Variables field in provisioning a new service catalog item (Ansible playbook) changes when typing information into it
Summary: Variables field in provisioning a new service catalog item (Ansible playbook)...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.5
Hardware: All
OS: All
high
medium
Target Milestone: GA
: 5.10.0
Assignee: Eric Winchell
QA Contact: Angelina Vasileva
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1640629
TreeView+ depends on / blocked
 
Reported: 2018-10-18 12:01 UTC by Angelina Vasileva
Modified: 2019-02-12 16:50 UTC (History)
6 users (show)

Fixed In Version: 5.10.0.21
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1640629 (view as bug list)
Environment:
Last Closed: 2019-02-12 16:50:17 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Fields when the Value is filled (8.38 KB, image/png)
2018-10-18 12:01 UTC, Angelina Vasileva
no flags Details

Description Angelina Vasileva 2018-10-18 12:01:19 UTC
Created attachment 1495279 [details]
Fields when the Value is filled

Description of problem:
While adding a new catalog item (Ansible playbook) there're fields "Variables & Default Values". If something is written in a field, it becomes required. If something is written in the Value filed, this field jumps below the Variable field.

Version-Release number of selected component (if applicable):
5.10.0.20.20181016163900_fe677b4

How reproducible:
Always

Steps to Reproduce:
1. Activate Embedded Ansible role
2. Wait for the role to be activated
3. Go to Services -> Catalogs -> Catalog Items 
4. Configuration -> Add a New Catalog Item
5. Select Ansible Playbook
6. Type something in Variables & Default Values fields

Actual results:
When typing something in one field, this field becomes required.
If something is written only in the Value filed, this field jumps below the Variable field.

Expected results:
When typing something in one field, the other is required.
Fields stay at the same place.

Additional info:

Comment 4 CFME Bot 2018-10-18 20:51:41 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/548c46caea2fb0aa123728dc8fe35be73a731a16
commit 548c46caea2fb0aa123728dc8fe35be73a731a16
Author:     Eric Winchell <ewinchel>
AuthorDate: Thu Oct 18 12:53:25 2018 -0400
Commit:     Eric Winchell <ewinchel>
CommitDate: Thu Oct 18 12:53:25 2018 -0400

    Fix New Catalog item styling issue

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

 app/views/layouts/angular/_ansible_form_options_angular.html.haml | 9 +-
 1 file changed, 6 insertions(+), 3 deletions(-)

Comment 5 CFME Bot 2018-10-18 22:06:34 UTC
New commit detected on ManageIQ/manageiq-ui-classic/hammer:

https://github.com/ManageIQ/manageiq-ui-classic/commit/01924a92f02aa98cf6c6f5e114658f356d70f56f
commit 01924a92f02aa98cf6c6f5e114658f356d70f56f
Author:     Harpreet Kataria <hkataria>
AuthorDate: Thu Oct 18 16:49:50 2018 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Thu Oct 18 16:49:50 2018 -0400

    Merge pull request #4794 from epwinchell/1640608

     Fix Ansible Playbook 'New Catalog Item' styling issue

    (cherry picked from commit dc8e7d0638b007a0e7c74b2d7cb5f8563d6c18bd)

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

 app/views/layouts/angular/_ansible_form_options_angular.html.haml | 9 +-
 1 file changed, 6 insertions(+), 3 deletions(-)

Comment 6 Angelina Vasileva 2018-10-29 11:26:00 UTC
Verified in 5.10.0.21.20181023151612_4c11b0d:

When typing something in one field, the other is required.
Fields stay at the same place.


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