Bug 1565139

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: Satoe Imaishi <simaishi>
Component: ApplianceAssignee: Yuri Rudman <yrudman>
Status: CLOSED ERRATA QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: abellott, cpelland, gtanzill, mkanoor, obarenbo, pmcgowan, tfitzger, yrudman
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.2.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1558926 Environment:
Last Closed: 2018-05-07 20:48:06 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: 1558926    
Bug Blocks:    

Comment 2 CFME Bot 2018-04-09 13:31:11 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/4a2af379cc61523e99bc32b0b0499e3199bdc697
commit 4a2af379cc61523e99bc32b0b0499e3199bdc697
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Thu Apr  5 14:26:27 2018 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Thu Apr  5 14:26:27 2018 -0400

    Merge pull request #17215 from yrudman/remove-temporary-tokens-from-expression-after-substitution

    Fixed error with dialog expression when virtual column involved
    (cherry picked from commit 54589f650f2c4026a43dcf9b4230d77cd7b5d504)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1565139

 lib/miq_expression/subst_mixin.rb | 1 +
 spec/lib/miq_expression/subst_mixin_spec.rb | 12 +
 2 files changed, 13 insertions(+)

Comment 6 errata-xmlrpc 2018-05-07 20:48:06 UTC
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-2018:1328