[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2988) Could not parse excludes operator

Tomáš Schlosser (JIRA) jira-events at lists.jboss.org
Tue Apr 26 05:21:18 EDT 2011


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

Tomáš Schlosser updated JBRULES-2988:
-------------------------------------

    Affects Version/s: 5.2.0.M2


> Could not parse excludes operator
> ---------------------------------
>
>                 Key: JBRULES-2988
>                 URL: https://issues.jboss.org/browse/JBRULES-2988
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.2.0.M2
>            Reporter: Tomáš Schlosser
>            Assignee: Mark Proctor
>             Fix For: 5.2.0.M1
>
>
> When I try to parse this rule:
> rule "Contains4"
> 	agenda-group "Contains"
> 	when
> 		$p : PetPerson ( pets.keySet excludes "dog" )
> 	then
> 		#consequence
> end
> I get exception:
> Unable to Analyse Expression !( pets.keySet contains "dog": [Error: unbalanced braces ( ... )] [Near : {... !( pets.keySet contains "dog" ....}] ^ [Line: 1, Column: 2] : [Rule name='Contains4']
> If I rewrite the rule using 'not contains' it works just fine.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list