svn commit: r433391 - /incubator/ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml

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

svn commit: r433391 - /incubator/ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml

jonesde
Author: jonesde
Date: Mon Aug 21 15:04:24 2006
New Revision: 433391

URL: http://svn.apache.org/viewvc?rev=433391&view=rev
Log:
Applied patch from Tim Ruppert to remove log operations that were used during initial development for debugging; Apache Jira #OFBIZ-172

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

Modified: incubator/ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml?rev=433391&r1=433390&r2=433391&view=diff
==============================================================================
--- incubator/ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml (original)
+++ incubator/ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml Mon Aug 21 15:04:24 2006
@@ -175,19 +175,16 @@
 
     <simple-method method-name="addDistinctShoppingListItem"
                    short-description="Adds a shopping list item if one with the same productId does not exist">
-        <log level="info" message="In addDistinctShoppingListItem" />
         <entity-condition entity-name="ShoppingListItem" list-name="shoppingListItemList">
             <condition-expr field-name="shoppingListId" env-name="parameters.shoppingListId" />
         </entity-condition>
 
         <iterate list-name="shoppingListItemList" entry-name="shoppingListItem">
             <if-compare-field field-name="parameters.productId" operator="equals" to-field-name="shoppingListItem.productId">
-                <log level="info" message="In shopingListItem ${shoppingListItem.productId}" />
                 <field-to-result field-name="shoppingListItem.shoppingListItemSeqId" result-name="shoppingListItemSeqId" />
                 <return />
             </if-compare-field>
         </iterate>
-        <log level="info" message="Right before createShoppingListItem" />
         <call-service service-name="createShoppingListItem" in-map-name="parameters">
             <result-to-result result-name="shoppingListItemSeqId" />
         </call-service>
@@ -297,7 +294,6 @@
             </condition-list>
         </entity-condition>
         <first-from-list list-name="orderRoleList" entry-name="orderRole" />
-        <log level="info" message="After orderRoleList" />
 
         <entity-condition entity-name="ShoppingList" list-name="shoppingListList">
             <condition-list combine="and">
@@ -318,23 +314,19 @@
         </else>            
         </if-empty>
 
-        <log level="info" message="Before iterating orderItemList" />
         <entity-condition entity-name="OrderItem" list-name="orderItemList">
             <condition-expr field-name="orderId" env-name="parameters.orderId" />
             <order-by field-name="orderItemSeqId" />
         </entity-condition>
         <iterate list-name="orderItemList" entry-name="orderItem">
             <if-not-empty field-name="orderItem.productId">
-                <log level="info" message="Found orderItem.productId [${orderItem.productId}]" />
                 <entity-condition entity-name="ProductAssoc" list-name="compProductAssocList" filter-by-date="true">
                     <condition-list combine="and">
                         <condition-expr field-name="productId" env-name="orderItem.productId" />
                         <condition-expr field-name="productAssocTypeId" value="PRODUCT_COMPLEMENT" />
                     </condition-list>
                 </entity-condition>
-                <log level="info" message="productAssocList = ${compProductAssocList}" />
                 <iterate list-name="compProductAssocList" entry-name="compProductAssoc">
-                    <log level="info" message="looping on assoc list" />
                     <clear-field field-name="shoppingListParameters" />
                     <set field="shoppingListParameters.productId" from-field="compProductAssoc.productIdTo" />
                     <set field="shoppingListParameters.shoppingListId" from-field="shoppingListId" />
@@ -359,9 +351,7 @@
                                 <condition-expr field-name="productAssocTypeId" value="PRODUCT_COMPLEMENT" />
                             </condition-list>
                         </entity-condition>
-                        <log level="info" message="productAssocList = ${compProductAssocList}" />
                         <iterate list-name="compProductAssocList" entry-name="compProductAssoc">
-                            <log level="info" message="looping on assoc list #2" />
                             <clear-field field-name="shoppingListParameters" />
                             <set field="shoppingListParameters.productId" from-field="compProductAssoc.productIdTo" />
                             <set field="shoppingListParameters.shoppingListId" from-field="shoppingListId" />