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.
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.
Fixed master: http://github.com/droolsjbpm/drools/commit/86be1a8eb Fixed 6.0.x: http://github.com/droolsjbpm/drools/commit/3ab6ee402
Verified on BRMS 6.0.0.ER4. Queries using temporal operators now return results, but new problem has appeared (Bug 1019708).