Fedora Account System
Red Hat Associate
Red Hat Customer
Created attachment 1714546 [details] screenshot Description of problem: Dialog dropdown field set to not required with a default value of 0. When ordering, the dropdown shows "none" Version-Release number of selected component (if applicable): Version 5.11.8.0.20200908214813_b3cc53d How reproducible: 100% Steps to Reproduce: 1. Create a service dialog and set dropdown field not required 2. Set default value zero 3. Go to the service order page 4. Value shows "None" instead of the default value set(which is zero) Actual results: Value is set to "none" Expected results: The value should be set to the default Additional info:
Created attachment 1714547 [details] dialog
Which CFME version had this working correctly?
Last working Version 5.11.7.3
https://github.com/ManageIQ/ui-components/pull/451
New commit detected on ManageIQ/ui-components/master: https://github.com/ManageIQ/ui-components/commit/60cd294e7aa4e63ffcbd5bf5e647b36c587f2c9e commit 60cd294e7aa4e63ffcbd5bf5e647b36c587f2c9e Author: Milan Zazrivec <mzazrivec> AuthorDate: Fri Sep 11 12:52:06 2020 +0000 Commit: Milan Zazrivec <mzazrivec> CommitDate: Fri Sep 11 12:52:06 2020 +0000 Correctly set null as default value for null and empty strings https://bugzilla.redhat.com/show_bug.cgi?id=1878103 src/dialog-user/services/dialogData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commit detected on ManageIQ/ui-components/ivanchuk: https://github.com/ManageIQ/ui-components/commit/10a0003ef0edcefa7658eeee4b1c68cc339d3c91 commit 10a0003ef0edcefa7658eeee4b1c68cc339d3c91 Author: Martin Hradil <mhradil> AuthorDate: Wed Sep 16 11:40:47 2020 +0000 Commit: Satoe Imaishi <simaishi> CommitDate: Wed Sep 30 18:09:43 2020 +0000 Merge pull request #451 from mzazrivec/correctly_set_default_values_for_null_and_empty_strings Correctly set null as default value for null and empty strings (cherry picked from commit c10011f0df9c51da0b8b953496dcfe1929f67478) https://bugzilla.redhat.com/show_bug.cgi?id=1878103 src/dialog-user/services/dialogData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PRs to update ui-components versions, master: https://github.com/ManageIQ/manageiq-ui-classic/pull/7385 https://github.com/ManageIQ/manageiq-ui-service/pull/1677 jansa: https://github.com/ManageIQ/manageiq-ui-service/pull/1678 https://github.com/ManageIQ/manageiq-ui-classic/pull/7386 ivanchuk: https://github.com/ManageIQ/manageiq-ui-classic/pull/7387 https://github.com/ManageIQ/manageiq-ui-service/pull/1679
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 (CloudForms 5.0.9 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/RHBA-2020:4967