You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2007/09/22 15:05:28 UTC
svn commit: r578428 -
/ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/ServiceUtil.java
Author: jleroux
Date: Sat Sep 22 06:05:28 2007
New Revision: 578428
URL: http://svn.apache.org/viewvc?rev=578428&view=rev
Log:
Applied fix from trunk for revision: 578274
Modified:
ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/ServiceUtil.java
Modified: ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/ServiceUtil.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/ServiceUtil.java?rev=578428&r1=578427&r2=578428&view=diff
==============================================================================
--- ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/ServiceUtil.java (original)
+++ ofbiz/branches/release4.0/framework/service/src/org/ofbiz/service/ServiceUtil.java Sat Sep 22 06:05:28 2007
@@ -433,11 +433,13 @@
Iterator curIter = curList.iterator();
while (curIter.hasNext()) {
GenericValue job = (GenericValue) curIter.next();
+ String runtimeId = job.getString("runtimeDataId");
String jobId = job.getString("jobId");
boolean beganTx2 = false;
try {
beganTx2 = TransactionUtil.begin();
job.remove();
+ runtimeToDelete.add(runtimeId);
} catch (GenericEntityException e) {
Debug.logInfo("Cannot remove job data for ID: " + jobId, module);
try {