Author: ashish
Date: Tue Mar 27 05:26:25 2012
New Revision: 1305733
URL:
http://svn.apache.org/viewvc?rev=1305733&view=revLog:
Bug fix. Setting up transaction-timeout="7200" for updateOrderItems service. This problem comes into picture when you have large number of items in an order. For example: Suppose you have more then 100 _different_ items in the cart, each has large quantity and now you wanted to update any of the item quantity then you will observe transaction timeout issue.
Modified:
ofbiz/trunk/applications/order/servicedef/services.xml
Modified: ofbiz/trunk/applications/order/servicedef/services.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services.xml?rev=1305733&r1=1305732&r2=1305733&view=diff==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services.xml Tue Mar 27 05:26:25 2012
@@ -308,7 +308,7 @@ under the License.
</service>
<service name="updateOrderItems" engine="java" auth="true"
- location="org.ofbiz.order.order.OrderServices" invoke="updateApprovedOrderItems">
+ location="org.ofbiz.order.order.OrderServices" invoke="updateApprovedOrderItems" transaction-timeout="7200">
<description>Update the quantities/prices for an existing order</description>
<attribute name="orderId" type="String" mode="INOUT" optional="false"/>
<attribute name="supplierPartyId" type="String" mode="IN" optional="true"/>