]
Ming Jin updated JBRULES-1758:
------------------------------
Attachment: testdrools.zip
Compiled Rule Would Not Execute with Array of Objects in Java
Expressions
-------------------------------------------------------------------------
Key: JBRULES-1758
URL:
https://jira.jboss.org/jira/browse/JBRULES-1758
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Drl Parser/Builder
Affects Versions: 5.0.0.M1
Environment: Java
Reporter: Ming Jin
Assignee: Mark Proctor
Attachments: testdrools.zip
The compilation is fine for a rule containing the following statement:
eval($fact.stayHasDaysOfWeek("1,2,3", false,
(String[][]){{"2008-04-01", "2008-04-10"}})),
But would cause the following exception during execution:
org.drools.RuntimeDroolsException: org.drools.base.mvel.MVELEvalExpression@1ad98ef :
org.mvel.PropertyAccessException: unable to resolve property:
$fact.stayHasDaysOfWeek("1,2,3", false, (String[][]){{"2008-04-01",
"2008-04-10"}})
....
Will upload the test project to demonstrate this issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: