Bug 1713646

Summary: Dynamic check box does not update in Classic ui and in SSUI
Product: Red Hat CloudForms Management Engine Reporter: Niyaz Akhtar Ansari <nansari>
Component: UI - OPSAssignee: Roman Blanco <rblanco>
Status: CLOSED CURRENTRELEASE QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.10.5CC: bmidwood, dmetzger, hkataria, lavenel, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.14 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1721122 (view as bug list) Environment:
Last Closed: 2019-12-13 15:00:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1721122    
Attachments:
Description Flags
dialog
none
method
none
ssui page none

Description Niyaz Akhtar Ansari 2019-05-24 11:29:24 UTC
Created attachment 1572867 [details]
dialog

Description of problem:


Version-Release number of selected component (if applicable):
Version 5.10.5.0.20190521165820_63c86d5


How reproducible:
100%

Steps to Reproduce:
1.Import the Method and dialog
2.create a catalog item with above dialog.
3.Order catalog item
4. Checkbox does not auto update on selecting True/False in first dropdown as it should according to the method.

Actual results:
Checkbox does not auto update on selecting True/False in first dropdown

Expected results:
Checkbox should update when we select True/False in first dropdown

Additional info:

Comment 2 Niyaz Akhtar Ansari 2019-05-24 11:30:24 UTC
Created attachment 1572868 [details]
method

Comment 3 Niyaz Akhtar Ansari 2019-05-24 11:31:39 UTC
Created attachment 1572869 [details]
ssui page

Comment 7 Niyaz Akhtar Ansari 2019-05-27 07:29:06 UTC
Last worked on Version 5.10.2.2

Comment 12 Roman Blanco 2019-06-13 13:24:01 UTC
Fix: https://github.com/ManageIQ/ui-components/pull/393

Comment 13 CFME Bot 2019-06-17 07:48:06 UTC
New commit detected on ManageIQ/ui-components/master:

https://github.com/ManageIQ/ui-components/commit/15fb5873217f7e7214c228115d31a2e2e0442888
commit 15fb5873217f7e7214c228115d31a2e2e0442888
Author:     Roman Blanco <rblanco>
AuthorDate: Thu Jun 13 09:20:28 2019 -0400
Commit:     Roman Blanco <rblanco>
CommitDate: Thu Jun 13 09:20:28 2019 -0400

    Removed methods working with obsolete attribute

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

    As the ng-model does not use attribute 'values' but 'default_value',
    the correct value was not getting updated and checkbox had always
    received 'undefined'.

    After removing the test working with the obsolete attribute,
    checkbox gets updated correctly again.

 src/dialog-user/services/dialogData.ts | 8 -
 1 file changed, 8 deletions(-)

Comment 15 Niyaz Akhtar Ansari 2019-07-17 06:34:21 UTC
Verified in Version 5.11.0.14.20190710225033_cb17ff0