Author: jaz
Date: Fri Sep 21 14:03:19 2007
New Revision: 578274
URL:
http://svn.apache.org/viewvc?rev=578274&view=revLog:
fixed bug where runtime data was not being deleted
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceUtil.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceUtil.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceUtil.java?rev=578274&r1=578273&r2=578274&view=diff==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceUtil.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceUtil.java Fri Sep 21 14:03:19 2007
@@ -424,11 +424,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 {