[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1808) Macros replacing strings

Mark Proctor (JIRA) jira-events at lists.jboss.org
Fri Jan 16 02:00:04 EST 2009


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

Mark Proctor commented on JBRULES-1808:
---------------------------------------

this has been fixed in MVEL, so should be fixed in drools when MVEL 2.0.7 is released and we upgrade.

> 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

        



More information about the jboss-jira mailing list