|View Issue Details|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|defect||[Openbravo ERP] A. Platform||minor||have not tried||2010-06-15 17:44||2012-09-26 17:52|
|Priority||normal||Resolution||fixed||Fixed in Version||3.0MP16|
|Status||closed||Fix in branch||Fixed in SCM revision||d9a38ada2c86|
|OS Version||Database version||Ant version|
|Product Version||pi||SCM revision|
|Review Assigned To||dbaz|
|Regression introduced in release|
|Regression introduced by commit|
|Triggers an Emergency Pack||No|
0013665: When disabling heartbeat, the process for sending beats is only unscheduled in running tomcat, butrunning again after tomcat res
The code for disabling heartbeat does not modify the process_request to update its status (or delete the request). It only unschedules it in the currently running scheduler (inside the currently running tomcat).
This means that the process will be running again after you restart tomcat, however as the ad_system_info flag is set to heartbeat disabled this process will not really send beat.
-> priority: minor
As just wrong local behavior but not functional problem (as no beats get send after disabling it)
|Steps To Reproduce||Check code in TestHearbeat servlet around line 111|
The pr instance (process request) is read from the db, then not modified, then saved....
|Tags||No tags attached.|
Updated info from testing this behavior. The process_request does get modified to status unscheduled somehow (perhaps by the scheduler itself). However in that case the
in TestHearbeat line 111 seems to be useless.
Check that after the change it has not changed the way heartbeat is unscheduled:
- Check that heartbeat is scheduled in the Process Request window
- Open the Heartbeat Configuration window and disable heartbeat.
- Go back to the Process Request window, and check that heartbeat status is unscheduled.
- Go back to Heartbeat Configuration and enable heartbeat again.
- In the Process Request window, check that heartbeat status is scheduled again.
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Sep 19 16:17:34 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d9a38ada2c86d12ca540e1401734cf0b98ccfc9b [^]
Fixes issue 13665: Remove unnecessary DAL save
When heartbeat is disabled, the process request is fetched with DAL, and used to unschedule the process. The process request itself it is not explicitly modified, so there is no need to save it.
|Reopened to change Closed by field|
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.
Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b780e90c6452 [^]
Maturity status: Test
|Reviewed @ changeset: 18052 - 8a0aed9bd90d|
|2010-06-15 17:44||shuehner||New Issue|
|2010-06-15 17:44||shuehner||Assigned To||=> alostale|
|2010-06-15 18:38||shuehner||Note Added: 0028459|
|2010-06-23 10:41||alostale||Status||new => scheduled|
|2011-11-16 17:26||alostale||Relationship added||related to 0018214|
|2012-09-19 16:18||AugustoMauch||Closed by||=> alostale|
|2012-09-19 16:20||AugustoMauch||Note Added: 0052230|
|2012-09-19 16:20||AugustoMauch||Issue Monitored: alostale|
|2012-09-19 16:22||hgbot||Note Added: 0052231|
|2012-09-19 16:22||hgbot||Status||scheduled => resolved|
|2012-09-19 16:22||hgbot||Resolution||open => fixed|
|2012-09-19 16:22||hgbot||Fixed in SCM revision||=> http://code.openbravo.com/erp/devel/pi/rev/d9a38ada2c86d12ca540e1401734cf0b98ccfc9b [^]|
|2012-09-26 11:52||AugustoMauch||Assigned To||alostale => AugustoMauch|
|2012-09-26 11:52||AugustoMauch||Note Added: 0052616|
|2012-09-26 11:52||AugustoMauch||Status||resolved => new|
|2012-09-26 11:52||AugustoMauch||Resolution||fixed => open|
|2012-09-26 11:52||AugustoMauch||Closed by||alostale => dbaz|
|2012-09-26 11:52||AugustoMauch||Status||new => scheduled|
|2012-09-26 11:52||AugustoMauch||Status||scheduled => resolved|
|2012-09-26 11:52||AugustoMauch||Resolution||open => fixed|
|2012-09-26 17:20||hudsonbot||Note Added: 0052787|
|2012-09-26 17:52||dbaz||Note Added: 0052805|
|2012-09-26 17:52||dbaz||Status||resolved => closed|
|2012-09-26 17:52||dbaz||Fixed in Version||=> 3.0MP16|
|Copyright © 2000 - 2009 MantisBT Group|