Author: ashish
Date: Tue Mar 27 06:00:24 2012
New Revision: 1305737
URL:
http://svn.apache.org/viewvc?rev=1305737&view=revLog:
Applying bug fix from trunk r1305733.
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/branches/release11.04/applications/order/servicedef/services.xml
Modified: ofbiz/branches/release11.04/applications/order/servicedef/services.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release11.04/applications/order/servicedef/services.xml?rev=1305737&r1=1305736&r2=1305737&view=diff==============================================================================
--- ofbiz/branches/release11.04/applications/order/servicedef/services.xml (original)
+++ ofbiz/branches/release11.04/applications/order/servicedef/services.xml Tue Mar 27 06:00:24 2012
@@ -312,7 +312,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"/>