[jboss-jira] [JBoss JIRA] (JBRULES-3550) Putting a constraint value between parenthesis generates a rule compilation error
Mario Fusco (JIRA)
jira-events at lists.jboss.org
Tue Jun 19 15:45:12 EDT 2012
[ https://issues.jboss.org/browse/JBRULES-3550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved JBRULES-3550.
----------------------------------
Resolution: Done
> Putting a constraint value between parenthesis generates a rule compilation error
> ---------------------------------------------------------------------------------
>
> Key: JBRULES-3550
> URL: https://issues.jboss.org/browse/JBRULES-3550
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 5.4.0.Final
> Reporter: Mario Fusco
> Assignee: Mario Fusco
>
> Putting a constraint value between parenthesis as in the following example:
> declare Bean
> company : String
> end
> rule X
> when
> $s1 : Bean( )
> $s2 : Bean( company == ( $s1.company ) )
> then
> end
> causes the following compilation problem:
> Rule Compilation error : [Rule name='X']
> org/drools/Rule_X_a7751b7903e24d189dc5f6702a2276b7.java (9:421) : The field Bean.company is not visible
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list