svn commit: r578274 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceUtil.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r578274 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/ServiceUtil.java

jaz-3
Author: jaz
Date: Fri Sep 21 14:03:19 2007
New Revision: 578274

URL: http://svn.apache.org/viewvc?rev=578274&view=rev
Log:
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 {