[
https://issues.jboss.org/browse/JBRULES-2988?page=com.atlassian.jira.plug...
]
Tomáš Schlosser updated JBRULES-2988:
-------------------------------------
Description:
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']
Worked fine in 5.1
was:
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.
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']
Worked fine in 5.1
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira