Bug 1746211
Summary: | unexpected error when dialog with dropdownlist with integer data type is edited to multiline (forces dialog deletion) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Reartes Guillermo <greartes> | ||||||||||||
Component: | UI - OPS | Assignee: | 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.8 | CC: | bmidwood, dmetzger, hkataria, lavenel, mpovolny, mshriver, obarenbo, simaishi | ||||||||||||
Target Milestone: | GA | Keywords: | ZStream | ||||||||||||
Target Release: | 5.11.6 | Flags: | pm-rhel:
cfme-5.11.z+
|
||||||||||||
Hardware: | x86_64 | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | 5.11.6.0 | Doc Type: | If docs needed, set a value | ||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2020-06-10 13:39:05 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
Reartes Guillermo
2019-08-28 00:45:26 UTC
Created attachment 1608767 [details]
Error when trying to save the dialog
Created attachment 1608768 [details]
Error after cancelling previous error and also canceling the dialog edtion
the dialog cannot be edited anymore.
It can only be deleted.
Created attachment 1608769 [details]
production.log
Created attachment 1608770 [details]
automation.log
Created attachment 1608771 [details]
evm.log (compressed due to size)
Additional Info: I reproduced this with cfme-5.9.9.3-1 (CF 4.6) I reproduced this with cfme-5.11.0.18-1 (CF5 Beta) New commit detected on ManageIQ/ui-components/master: https://github.com/ManageIQ/ui-components/commit/c9c47999e72faa21ea2cf1b59a78408a8d9f3be8 commit c9c47999e72faa21ea2cf1b59a78408a8d9f3be8 Author: Martin Hradil <mhradil> AuthorDate: Tue Jan 14 23:20:29 2020 +0000 Commit: Martin Hradil <mhradil> CommitDate: Tue Jan 14 23:20:29 2020 +0000 Dialog Editor - reset default_value when changing dropdown type, values, or between single and multiselect Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1746211 (cherry picked from commit 30797a2612b55297026c348621f0a8a2ead3ade3) src/dialog-editor/components/modal-field-template/modalFieldTemplateComponent.ts | 32 +- 1 file changed, 30 insertions(+), 2 deletions(-) New commit detected on ManageIQ/ui-components/ivanchuk: https://github.com/ManageIQ/ui-components/commit/541f3e4eb5f0bd99fd920b3f4bee22c2deffb184 commit 541f3e4eb5f0bd99fd920b3f4bee22c2deffb184 Author: Martin Hradil <mhradil> AuthorDate: Wed Apr 22 16:00:52 2020 +0000 Commit: Martin Hradil <mhradil> CommitDate: Wed Apr 22 16:00:52 2020 +0000 Merge pull request #437 from mzazrivec/bug-1746211 Dialog Editor - reset default_value when changing dropdown type, values, or between single and multiselect (cherry picked from commit 2a03d66e50dabb9e9d04185fdb2b7881c1816237) https://bugzilla.redhat.com/show_bug.cgi?id=1746211 .travis.yml | 2 +- src/dialog-editor/components/field/field.html | 1 - src/dialog-editor/components/field/fieldComponent.spec.ts | 24 - src/dialog-editor/components/field/fieldComponent.ts | 9 - src/dialog-editor/components/modal-field-template/modalFieldTemplateComponent.ts | 37 +- 5 files changed, 35 insertions(+), 38 deletions(-) The PR is now backported to ivanchuk branch. Please release a new version of ui-components and bump the version in OpsUI/SUI. PRs with ui-components version bump: https://github.com/ManageIQ/manageiq-ui-classic/pull/7055 https://github.com/ManageIQ/manageiq-ui-service/pull/1642 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, 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:2480 |