Bug 1481380
Summary: | Custom button not passing target object to dynamic dialog fields | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Greg McCullough <gmccullo> | |
Component: | Automate | Assignee: | eclarizi | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dmitry Misharov <dmisharo> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 5.7.0 | CC: | eclarizi, jhardy, mfalesni, mkanoor, obarenbo, simaishi, tfitzger | |
Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
Target Release: | 5.9.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | 5.9.0.1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1484539 1484541 (view as bug list) | Environment: | ||
Last Closed: | 2018-03-06 15:11:05 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1484539, 1484541 |
Description
Greg McCullough
2017-08-14 19:34:02 UTC
Digging into this issue further it appear the code has been this way for a while (years) and has only now been identified. The fields exposed to this issue are not common fields for dynamic use, or do not need to target object when they are dynamic. (I dropped the severity of the BZ based on this.) Effected fields: check_box, date_control, date_time_control, text_box and text_box_area QE(Milan) - Is this something you could create an integration tests for? New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/f8f29e8424cfce157e9129b5dbb38826f6f61116 commit f8f29e8424cfce157e9129b5dbb38826f6f61116 Author: Erik Clarizio <eclarizi> AuthorDate: Mon Aug 14 11:05:36 2017 -0700 Commit: Erik Clarizio <eclarizi> CommitDate: Mon Aug 14 12:34:45 2017 -0700 Ensure dialog is set before calling `.value` https://bugzilla.redhat.com/show_bug.cgi?id=1481380 app/models/dialog.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Discovered this issue while working on PR https://github.com/ManageIQ/manageiq-content/pull/170. Verified in 5.9.0.1 |