Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013625Openbravo ERPA. Platformpublic2010-06-11 16:142010-06-17 00:00
iperdomo 
iperdomo 
urgentmajorsometimes
closedfixed 
202.6.30-gentoo-r5
2.50MP18 
2.50MP19 
Core
No
0013625: [HB] When Heartbeat is enabled a process request in Scheduled state must exist
Some instances have Heartbeat activated but without a Scheduled process request, without that the OBScheduler cannot schedule the beats
* Enable Heartbeat
* Go to Process Request, unschedule the Heartbeat process, delete the process request.
* Restart the tomcat server
* Because the process request doesn't exist the OBScheduler don't schedule the Heartbeat

Note: The same happens with misfired process requests
* Add a ModuleScript to fix the data
No tags attached.
related to defect 00136672.50MP20 closed iperdomo Minor cleanup in /modulescript/HBFix_data.xsql 
Issue History
2010-06-11 16:14iperdomoNew Issue
2010-06-11 16:14iperdomoAssigned To => iperdomo
2010-06-11 16:15iperdomoStatusnew => scheduled
2010-06-11 16:15iperdomofix_in_branch => pi
2010-06-11 17:38hgbotCheckin
2010-06-11 17:38hgbotNote Added: 0028316
2010-06-11 17:38hgbotStatusscheduled => resolved
2010-06-11 17:38hgbotResolutionopen => fixed
2010-06-11 17:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ec2bb4d501a7265770d5127b194882b3823b1594 [^]
2010-06-12 22:49hudsonbotCheckin
2010-06-12 22:49hudsonbotNote Added: 0028332
2010-06-16 09:59iperdomoRelationship addedrelated to 0013667
2010-06-16 16:16shuehnerNote Added: 0028508
2010-06-16 16:16shuehnerStatusresolved => closed
2010-06-17 00:00anonymoussf_bug_id0 => 3017332

Notes
(0028316)
hgbot   
2010-06-11 17:38   
Repository: erp/devel/pi
Changeset: ec2bb4d501a7265770d5127b194882b3823b1594
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Jun 11 16:31:26 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ec2bb4d501a7265770d5127b194882b3823b1594 [^]

Fixes issue 13625: Added module script to fix Heartbeat process request

---
A src-util/modulescript/build/classes/org/openbravo/modulescript/HBFix.class
A src-util/modulescript/build/classes/org/openbravo/modulescript/HBFixData.class
A src-util/modulescript/src/org/openbravo/modulescript/HBFix.java
A src-util/modulescript/src/org/openbravo/modulescript/HBFix_data.xsql
---
(0028332)
hudsonbot   
2010-06-12 22:49   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/ec2bb4d501a7 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/0b85119b92bc [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17589.obx [^]
(0028508)
shuehner   
2010-06-16 16:16   
Reviewed and tested... Script is a noop if either heartbeat is disabled in ad_system_info or a process_request for the heartbeat process exists in status scheduled.
In all other cases it will make sure that one process request exists in status scheduled.