Bug 1248024 - Timers are reset during the serialization process
Summary: Timers are reset during the serialization process
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER1
: 6.2.0
Assignee: Mario Fusco
QA Contact: Marek Winkler
URL:
Whiteboard:
Depends On:
Blocks: 1248429 1249886
TreeView+ depends on / blocked
 
Reported: 2015-07-29 13:06 UTC by Anton Giertli
Modified: 2020-03-27 20:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1248429 (view as bug list)
Environment:
Last Closed: 2020-03-27 20:02:36 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat One Jira Issue Tracker DROOLS-795 Major Resolved Timers are reset during the serialization process 2016-06-30 19:46:09 UTC

Description Anton Giertli 2015-07-29 13:06:41 UTC
Description of problem:
When the marshall serializes a timer it doesn't take count of how much time it is already passed, so when the timer is deserialized it restart from it start time. The following failing test case reproduces the problem.

This is a product BZ for the known issue reported via JIRA

https://issues.jboss.org/browse/DROOLS-795
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Mario Fusco 2015-07-29 14:05:55 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/1627f9be7

Comment 3 Mario Fusco 2015-08-04 13:29:55 UTC
This commit is also necessary to avoid breaking TimerJobFactoryType compatibility of serialiazed session https://github.com/droolsjbpm/drools/commit/7a0fa4bc22de40985da3a3c5b3d0783236a5bbbd

Comment 5 Marek Winkler 2015-10-14 08:48:59 UTC
Verified in BRMS 6.2.0.ER3.


Note You need to log in before you can comment on or make changes to this bug.