Bug 1248024

Summary: Timers are reset during the serialization process
Product: [Retired] JBoss BRMS Platform 6 Reporter: Anton Giertli <agiertli>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED EOL QA Contact: Marek Winkler <mwinkler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: mwinkler, tkobayas
Target Milestone: ER1   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1248429 (view as bug list) Environment:
Last Closed: 2020-03-27 20:02:36 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:
Bug Depends On:    
Bug Blocks: 1248429, 1249886    

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.