Author: jleroux
Date: Sat Sep 22 06:05:28 2007
New Revision: 578428
URL:
http://svn.apache.org/viewvc?rev=578428&view=revLog:
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 {