[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-2072) Updating a fact within a rule fails unless the fact is explicitly declared in the LHS of the rule

Mauricio Salatino (JIRA) jira-events at lists.jboss.org
Wed May 13 15:24:47 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBRULES-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mauricio Salatino resolved JBRULES-2072.
----------------------------------------

    Resolution: Done
      Assignee: Mauricio Salatino  (was: Mark Proctor)


Fixed

> Updating a fact within a rule fails unless the fact is explicitly declared in the LHS of the rule
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-2072
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-2072
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Damon Horrell
>            Assignee: Mauricio Salatino
>         Attachments: drools-bug-tests.zip
>
>
> This works:
> rule "declaring foo in LHS"
> 	when
> 		bar : Bar(foo : foo);
> 	then
> 		update(foo);
> end
> but this doesn't:
> rule "not declaring foo in LHS"
> 	when
> 		bar : Bar();
> 	then
> 		update(bar.getFoo());
> end
> This was broken recently because it works in 5.0.0.CR1 but not in 5.0.0.SNAPSHOT or 5.0.1.SNAPSHOT.

-- 
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