[jboss-jira] [JBoss JIRA] (DROOLS-426) Globals can't be used with temporal operators

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Aug 6 15:58:31 EDT 2014


    [ https://issues.jboss.org/browse/DROOLS-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990931#comment-12990931 ] 

RH Bugzilla Integration commented on DROOLS-426:
------------------------------------------------

Rajesh Rajasekaran <rrajasek at redhat.com> changed the Status of [bug 1064224|https://bugzilla.redhat.com/show_bug.cgi?id=1064224] from VERIFIED to CLOSED

> 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: Mario Fusco
>            Priority: Critical
>             Fix For: 6.1.0.Beta1
>
>
> 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 was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list