Bug 980775

Summary: Queries using temporal operators do not return results
Product: [Retired] JBoss BRMS Platform 6 Reporter: Marek Winkler <mwinkler>
Component: BREAssignee: Edson Tirelli <etirelli>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas David <tdavid>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0Keywords: Regression
Target Milestone: ER4   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:16:46 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 Marek Winkler 2013-07-03 08:26:16 UTC
Description of problem:

Queries using temporal queries return empty QueryResults, despite adding KieSession.fireAllRules() as required by phreak.

Please see pull request with the reproducer (CepQueryTest) for more details.


Version-Release number of selected component (if applicable):

Drools 6.0.0-SNAPSHOT
Drools 6.0.0.Beta4

This worked in 6.0.0.Beta3, marking as regression.


How reproducible:

Run the CepQueryTest (currently @Ignored) in drools-compiler integration tests.


Actual results:

Empty QueryResults are returned.


Expected results:

One event is returned in the query result.


Additional info:

The test uses two entry points but the problem is not related to them.

Comment 1 Marek Winkler 2013-07-03 08:30:08 UTC
Pull request containing the reproducer: https://github.com/droolsjbpm/drools/pull/219

Comment 2 Marek Winkler 2013-09-06 18:31:31 UTC
I have found this problem persists with ER2. Strangely, the query returns results when EventProcessingMode is set to CLOUD.

Comment 7 Tomas David 2013-10-16 09:37:28 UTC
Verified on BRMS 6.0.0.ER4.

Queries using temporal operators now return results, but new problem has appeared (Bug 1019708).