Bug 724208 (BRMS-151)

Summary: CLONE -Exception when compiling a rule with "dialect mvel"
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: nwallace <nwallace>
Component: unspecifiedAssignee: Mark Proctor <mark.proctor>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: unspecified   
Target Milestone: ---   
Target Release: 5.0.1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-151
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-01 12:17:09 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:

Description nwallace 2009-07-07 12:35:37 UTC
Date of First Response: 2009-09-25 06:16:52
securitylevel_name: Public

The following expression would compile without any problem with "dialect java":

new String[][]{{"2008-04-01", "2008-04-10"}}

But would generate a compiler error - "Unable to build expression...." with "dialect mvel".

Will upload an sample code to demonstrate this bug.

Comment 1 nwallace 2009-07-07 12:36:41 UTC
Link: Added: This issue is related to JBRULES-1759


Comment 2 nwallace 2009-09-01 12:17:09 UTC
Fix in place.

Comment 3 Dana Mison 2009-09-25 10:16:52 UTC
added to BRMS 5.0 CP01 release notes as resolved:

JBRULES-1759
Rules using the MVEL dialect would fail to compile if they used the new constructor. This was because this syntax was not yet supported in MVEL. Support for this constructor has been added in this release, and rules using this syntax will now compile correctly.