Red Hat Bugzilla – Bug 980775
Queries using temporal operators do not return results
Last modified: 2014-08-06 16:16:46 EDT
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):
This worked in 6.0.0.Beta3, marking as regression.
Run the CepQueryTest (currently @Ignored) in drools-compiler integration tests.
Empty QueryResults are returned.
One event is returned in the query result.
The test uses two entry points but the problem is not related to them.
Pull request containing the reproducer: https://github.com/droolsjbpm/drools/pull/219
I have found this problem persists with ER2. Strangely, the query returns results when EventProcessingMode is set to CLOUD.
Verified on BRMS 6.0.0.ER4.
Queries using temporal operators now return results, but new problem has appeared (Bug 1019708).