Bug 1448421
| Summary: | Default value of dynamic dropdown list not honored CloudForms 4.2 | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Satoe Imaishi <simaishi> |
| Component: | Automate | Assignee: | eclarizi |
| Status: | CLOSED ERRATA | QA Contact: | Shveta <sshveta> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.7.0 | CC: | cpelland, gmccullo, jhardy, mkanoor, myoder, obarenbo, simaishi, sshveta, tfitzger |
| Target Milestone: | GA | Keywords: | ZStream |
| Target Release: | 5.7.3 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | service | ||
| Fixed In Version: | 5.7.3.1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1447442 | Environment: | |
| Last Closed: | 2017-06-28 15:01:40 UTC | Type: | --- |
| 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: | |||
| Bug Depends On: | 1447442 | ||
| Bug Blocks: | |||
|
Comment 2
CFME Bot
2017-05-12 13:56:11 UTC
Fixed .
Verified in 5.7.3.1.20170608124102_4b35a9e
================
Method
===============
dialog = $evm.object
dialog['data_type'] = "integer"
dialog['values'] = {0 => "zero", 1 => "one", 2 => "two"}
dialog['default_value'] = 1
"one" is selected in the dropdown because it's set to the default value. Changed the keys to strings
({"0" => "zero", "1" => "one", "2" => "two"})
default value was not honored.
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-2017:1601 |