Bug 1861252

Summary: Dropdown dialog field listing extra value -> ''Nothing Selected' in service order page
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: high    
Version: 5.11.7CC: dmetzger, hkataria, juwatts, mzazrivec, simaishi, znemecko
Target Milestone: GAKeywords: Reopened, ZStream
Target Release: 5.11.8Flags: simaishi: cfme-5.11.z+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.8.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-30 14:04:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dropdown demo
none
dialog none

Description Niyaz Akhtar Ansari 2020-07-28 07:16:50 UTC
Created attachment 1702615 [details]
dropdown demo

Description of problem:


Version-Release number of selected component (if applicable):
Version 5.11.7.2.20200724203717_1cdf0a2


How reproducible:
100%

Steps to Reproduce:
1. Import dialog
2. Add dialog to catalog item
3. Go to service catalog order page
4. See the dropdown value


Actual results:
By default "Nothing is selected" showing in dropdown field with blank value in dropdown

Expected results:
In dropdown list values should be ['<None>', 'X', 'S', 'A', 'B']

Additional info:

Comment 2 Niyaz Akhtar Ansari 2020-07-28 07:18:09 UTC
Created attachment 1702616 [details]
dialog

Comment 3 Milan Zázrivec 2020-08-03 15:18:20 UTC
https://github.com/ManageIQ/ui-components/pull/447

Comment 4 CFME Bot 2020-08-03 15:56:26 UTC
New commit detected on ManageIQ/ui-components/master:

https://github.com/ManageIQ/ui-components/commit/e96d5440bf5de5a8c3da19c3f4d39679465af8a7
commit e96d5440bf5de5a8c3da19c3f4d39679465af8a7
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Mon Aug  3 15:12:19 2020 +0000
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Mon Aug  3 15:12:19 2020 +0000

    Correctly set 'null' default value for TagControl & Dropdown

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

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

Comment 5 CFME Bot 2020-08-19 20:36:23 UTC
New commit detected on ManageIQ/ui-components/ivanchuk:

https://github.com/ManageIQ/ui-components/commit/0b7e11f518e0766a4fc2cd2ab3d90426fd65a1d5
commit 0b7e11f518e0766a4fc2cd2ab3d90426fd65a1d5
Author:     Martin Hradil <mhradil>
AuthorDate: Mon Aug  3 15:51:36 2020 +0000
Commit:     Satoe Imaishi <simaishi>
CommitDate: Wed Aug 19 20:30:29 2020 +0000

    Merge pull request #447 from mzazrivec/correctly_set_null_default_value_for_tag_control_and_dropdown

    Correctly set 'null' default value for TagControl & Dropdown

    (cherry picked from commit 718469070abb168923af861211f7950cfc736317)

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

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

Comment 11 errata-xmlrpc 2020-09-30 14:04:01 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 (Moderate: CloudForms 5.0.8 security, 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:4134