[jboss-jira] [JBoss JIRA] (DROOLS-989) Saving/Restoring drools session prevents timer-related rules from firing
David Weir (JIRA)
issues at jboss.org
Thu Dec 3 13:34:00 EST 2015
[ https://issues.jboss.org/browse/DROOLS-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136854#comment-13136854 ]
David Weir commented on DROOLS-989:
-----------------------------------
I modified the test to call a static function which will set a global variable to true when the timed rule fires
The test sets the variable false, runs an iteration of the timer test and the rule fires (variable is set to true).
Session is saved, variable set to false again and an iteration of the timer test run again and the test fails (variable is not set to true).
> Saving/Restoring drools session prevents timer-related rules from firing
> ------------------------------------------------------------------------
>
> Key: DROOLS-989
> URL: https://issues.jboss.org/browse/DROOLS-989
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.3.0.Final
> Reporter: David Weir
> Assignee: Mario Fusco
> Priority: Blocker
> Attachments: DroolsTimerTest.java, DroolsTimerTest.java, DroolsTimerTest.java
>
>
> Attached test case shows a timer-base rule firing. Then the session is saved and restored per the manual. When the trigger is inserted again, the rule does not fire.
> This is killing my system whenever I have to restart and restore the current sessions.
> The workaround is to create the session again from scratch
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list