You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mo...@apache.org on 2010/02/04 08:19:59 UTC

svn commit: r906383 - in /ofbiz/trunk/applications/order: script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml servicedef/services_shoppinglist.xml

Author: mor
Date: Thu Feb  4 07:19:58 2010
New Revision: 906383

URL: http://svn.apache.org/viewvc?rev=906383&view=rev
Log:
In createShoppingListService shoppingListId was declared as In and Out parameter but the latter is not used any where and hence changing to just an input attribute.

Modified:
    ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml
    ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml

Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml?rev=906383&r1=906382&r2=906383&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml Thu Feb  4 07:19:58 2010
@@ -134,7 +134,6 @@
 
             <set-nonpk-fields map="parameters" value-field="newEntity"/>
             <field-to-result field="newEntity.shoppingListItemSeqId" result-name="shoppingListItemSeqId"/>
-            <field-to-result field="newEntity.shoppingListId" result-name="shoppingListId"/>
             <create-value value-field="newEntity"/>
 
             <if-compare-field field="shoppingList.partyId" to-field="userLogin.partyId" operator="not-equals">

Modified: ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml?rev=906383&r1=906382&r2=906383&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services_shoppinglist.xml Thu Feb  4 07:19:58 2010
@@ -111,7 +111,7 @@
             location="component://order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml" invoke="createShoppingListItem">
         <description>Create a shopping list item</description>
         <implements service="shoppingListItemInterface"/>
-        <attribute name="shoppingListId" type="String" mode="INOUT" optional="true"/>
+        <attribute name="shoppingListId" type="String" mode="IN" optional="true"/>
         <attribute name="productStoreId" type="String" mode="INOUT" optional="true"/>
         <attribute name="productId" type="String" mode="IN" optional="false"/>
         <attribute name="shoppingListItemSeqId" type="String" mode="OUT" optional="false"/>