details: https://code.openbravo.com/erp/devel/pi/rev/d9a38ada2c86
changeset: 17981:d9a38ada2c86
user: Augusto Mauch <augusto.mauch <at> openbravo.com>
date: Wed Sep 19 16:17:34 2012 +0200
summary: 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.
diffstat:
src/org/openbravo/erpCommon/ad_process/TestHeartbeat.java | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diffs (12 lines):
diff -r 0619603e5e54 -r d9a38ada2c86
src/org/openbravo/erpCommon/ad_process/TestHeartbeat.java
--- a/src/org/openbravo/erpCommon/ad_process/TestHeartbeat.java Wed Sep 19
14:38:29 2012 +0200
+++ b/src/org/openbravo/erpCommon/ad_process/TestHeartbeat.java Wed Sep 19
16:17:34 2012 +0200
@@ -131,8 +131,6 @@
final ProcessRequest pr = requestList.get(0);
- OBDal.getInstance().save(pr);
-
final ProcessBundle bundle = ProcessBundle.request(pr.getId(), vars,
connectionProvider);
OBScheduler.getInstance().unschedule(pr.getId(),
bundle.getContext());
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits