Bug 1064224

Summary: Globals can't be used with temporal operators
Product: [Retired] JBoss BRMS Platform 6 Reporter: Mario Fusco <mfusco>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Winkler <mwinkler>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: kverlaen, rrajasek
Target Milestone: ER2   
Target Release: 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 19:57:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mario Fusco 2014-02-12 09:13:36 UTC
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

Comment 2 Marek Winkler 2014-03-17 14:55:32 UTC
Verified that the fix is present in BRMS 6.0.1 ER2 and relevant tests pass.