Davide Sottara created DROOLS-426:
-------------------------------------
Summary: Globals can't be used with temporal operators
Key: DROOLS-426
URL:
https://issues.jboss.org/browse/DROOLS-426
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Davide Sottara
Assignee: Mark Proctor
Priority: Critical
Assuming:
global Date now;
The pattern "Foo( this before now )" will generate various errors.
The reason is that the Global[X]Extractors (X =
{"","Date","Number"}
are erroneously declared as self-referential extractors.
If Foo is not an @event, a CCE will arise since the operators will use
"this" rather than the global. Otherwise, the result will be inconsistent
--
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