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

RH Bugzilla Integration (JIRA) issues at jboss.org
Mon Mar 3 05:30:48 EST 2014


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

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

Ryan Zhang <rzhang at redhat.com> changed the Status of [bug 1064224|https://bugzilla.redhat.com/show_bug.cgi?id=1064224] from MODIFIED to ON_QA
                
> 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 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


More information about the jboss-jira mailing list