Bug 1558926
Summary: | Some expression method definitions can fail with "<Script error>" in a dialog and a stack trace in evm.log | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Peter McGowan <pmcgowan> | |
Component: | Appliance | Assignee: | Yuri Rudman <yrudman> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Niyaz Akhtar Ansari <nansari> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 5.9.0 | CC: | abellott, cpelland, gtanzill, mkanoor, nansari, obarenbo, pmcgowan, tfitzger, yrudman | |
Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
Target Release: | 5.10.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1565139 (view as bug list) | Environment: | ||
Last Closed: | 2019-02-11 14:06:11 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: | 1565139 |
Description
Peter McGowan
2018-03-21 10:29:42 UTC
Peter - Have you tried using this expression elsewhere in the product? I am thinking it is more an issue with the expression evaluation (possible due to emstype being a virtual column) then anything to do with the automate side of things. The "type" field that does work is a direct db column. Hi Greg The filter 'VM and Instance.Provider : Emstype = "rhevm"' seems to work fine in a report if that helps? It also works from the Advanced Search functionality of the VMs page using the search: Virtual Machine.Provider : Emstype = "rhevm" New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/40ba3002f1432716a17e677e58701b675e03766a commit 40ba3002f1432716a17e677e58701b675e03766a Author: Yuri Rudman <yrudman> AuthorDate: Tue Mar 27 17:20:35 2018 -0400 Commit: Yuri Rudman <yrudman> CommitDate: Tue Mar 27 17:20:35 2018 -0400 remove temporary tokens from expression hash after substitution. Keeping token will make expression evaluation failed. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1558926 lib/miq_expression/subst_mixin.rb | 1 + 1 file changed, 1 insertion(+) Verified in Version 5.10.0.21.20181023151612_4c11b0d |