Paul Qing created DROOLS-290:
--------------------------------
Summary: Can't parse condition as FieldConstraintDescr in 5.5.0
Key: DROOLS-290
URL:
https://issues.jboss.org/browse/DROOLS-290
Project: Drools
Issue Type: Release
Security Level: Public (Everyone can see)
Environment: jdk1.6.0.25
Reporter: Paul Qing
Assignee: Mark Proctor
hi everyone,
I met a issue when I upgrade drools from 5.0.1 to 5.5.0. when I parse a rule in the
5.5.0. It will parse condition as ExprConstraintDescr. However,It can parse this condition
as FieldConstraintDescr in the 5.0.1. I don't know that this is a bug or not. the
rule is as following:
rule "guy_13"
when
$g:Guy(age==13)
then
return true;
end
the root cause is the parser has parsed "$g:Guy(age==13)" as ExprConstraintDescr
in the 5.5.0 and it can work in the 5.0.1.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira