[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1759) Exception when compiling a rule with "dialect mvel"

Mark Proctor (JIRA) jira-events at lists.jboss.org
Wed Sep 3 23:13:38 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBRULES-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12428144#action_12428144 ] 

Mark Proctor commented on JBRULES-1759:
---------------------------------------

MVEL does not yet support the "new" constructor for arrays, it instead uses an inline syntax:
s = {{"2008-04-01", "2008-04-10"}} 

I know the MVEL author plans to support this soon though.

> Exception when compiling a rule with "dialect mvel"
> ---------------------------------------------------
>
>                 Key: JBRULES-1759
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-1759
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Drl Parser/Builder
>    Affects Versions: 5.0.0.M1
>            Reporter: Ming Jin
>            Assignee: Mark Proctor
>         Attachments: testdrools.zip
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list