Bug 1713212 - In service order page it show the default value even though its not selected in dialog
Summary: In service order page it show the default value even though its not selected...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.10.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.11.7
Assignee: Milan Zázrivec
QA Contact: Niyaz Akhtar Ansari
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-23 07:42 UTC by Niyaz Akhtar Ansari
Modified: 2022-07-09 11:29 UTC (History)
9 users (show)

Fixed In Version: 5.11.7.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-06 14:32:52 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:
simaishi: cfme-5.11.z+


Attachments (Terms of Use)
screenshot (73.29 KB, image/png)
2019-05-23 07:42 UTC, Niyaz Akhtar Ansari
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:3358 0 None None None 2020-08-06 14:33:04 UTC

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


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