[
https://jira.jboss.org/jira/browse/JBRULES-1808?page=com.atlassian.jira.p...
]
Paul Ryan commented on JBRULES-1808:
------------------------------------
Thank you mark, please keep us up-to-date as we hit this again this week and it took us a
while to realize what we had done wrong (it was a string being passed to an xquery
compiler).
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