[
https://jira.jboss.org/jira/browse/JBRULES-1808?page=com.atlassian.jira.p...
]
Mark Proctor commented on JBRULES-1808:
---------------------------------------
This is a bug with MVEL, I've added a failing unit test to MVEL, hopefully we'll
get the fix for the next MVEL release.
Macros replacing strings
------------------------
Key: JBRULES-1808
URL:
https://jira.jboss.org/jira/browse/JBRULES-1808
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-compiler
Affects Versions: 4.0.7
Reporter: Paul Ryan
Assignee: Mark Proctor
Rule compilation is replacing macro's in strings as well as the standard macros.
Example:
rule
when
$fact : MyFact()
then
System.out.println("This is an update");
update($fact);
end
Results in the following string being printed:
This is an drools.update
--
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