Bug 1713212

Summary: In service order page it show the default value even though its not selected in dialog
Product: Red Hat CloudForms Management Engine Reporter: Niyaz Akhtar Ansari <nansari>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA 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, mshriver, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: ZStream
Target Release: 5.11.7Flags: simaishi: cfme-5.11.z+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.7.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-06 14:32:52 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:
Attachments:
Description Flags
screenshot none

Description Niyaz Akhtar Ansari 2019-05-23 07:42:52 UTC
Created attachment 1572383 [details]
screenshot

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.Go to Automation->Automate->Customization->Add a new dialog 
2.Add Radio Button element, Save
3.Add above dialog to service catalog item
4.Go to order page 
5.In order page one radio button is selected by default   

Actual results:

when ordering the service the first radio button element value one is always selected even if None Default value is specified in dialog 

Expected results:


Additional info:

Comment 4 Milan Zázrivec 2020-06-17 11:43:49 UTC
https://github.com/ManageIQ/ui-components/pull/442

Comment 5 CFME Bot 2020-06-18 14:26:23 UTC
New commit detected on ManageIQ/ui-components/master:

https://github.com/ManageIQ/ui-components/commit/a84d2c733c1d3dd9ff00614f09fc6bf01e3d8967
commit a84d2c733c1d3dd9ff00614f09fc6bf01e3d8967
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Wed Jun 17 11:37:52 2020 +0000
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Wed Jun 17 11:37:52 2020 +0000

    Don't set default value for non-applicable fields

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

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

Comment 6 Milan Zázrivec 2020-06-18 14:54:01 UTC
Once the above change is cherry-picked into ivanchuk, I'll roll out new versions
of ui-components.

Comment 7 CFME Bot 2020-07-06 19:36:17 UTC
New commit detected on ManageIQ/ui-components/ivanchuk:

https://github.com/ManageIQ/ui-components/commit/ed77da4b7e0d24236a98b9b5ba8c27cd0a206411
commit ed77da4b7e0d24236a98b9b5ba8c27cd0a206411
Author:     Martin Hradil <mhradil>
AuthorDate: Thu Jun 18 14:22:57 2020 +0000
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Jul  6 19:34:09 2020 +0000

    Merge pull request #442 from mzazrivec/dont_set_default_value_when_not_needed

    Don't set default value for non-applicable fields

    (cherry picked from commit d21e49168fa8ef7cc0702c6cfbc29d9f342e560a)

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

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

Comment 10 Niyaz Akhtar Ansari 2020-07-16 06:56:44 UTC
Verfied in Version 5.11.7.0.20200714215453_0da8a4a

Comment 13 errata-xmlrpc 2020-08-06 14:32:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Critical: CloudForms 5.0.7 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:3358