ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lekt...@apache.org
Subject svn commit: r609874 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
Date Tue, 08 Jan 2008 05:34:30 GMT
Author: lektran
Date: Mon Jan  7 21:34:30 2008
New Revision: 609874

URL: http://svn.apache.org/viewvc?rev=609874&view=rev
Log:
Fix problem reported by Daniel Kunkel on the user list, a required out parameter was being
set inside a condition causing the service to fail if the condition wasn't met

Modified:
    ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml

Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml?rev=609874&r1=609873&r2=609874&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
(original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
Mon Jan  7 21:34:30 2008
@@ -304,7 +304,6 @@
                         <calcop field-name="invoicePaymentInfo.paidAmount" operator="get"/>
                     </calcop>
                 </calculate>
-                <set field="invoicePaymentInfoList[]" from-field="invoicePaymentInfo"/>
             </if-compare>
         </iterate>
         <if>
@@ -343,9 +342,9 @@
                         <calcop field-name="invoicePaymentInfo.paidAmount" operator="get"/>
                     </calcop>
                 </calculate>
-                <set field="invoicePaymentInfoList[]" from-field="invoicePaymentInfo"/>
             </then>
         </if>
+        <set field="invoicePaymentInfoList[]" from-field="invoicePaymentInfo"/>
         <field-to-result field-name="invoicePaymentInfoList" result-name="invoicePaymentInfoList"/>
     </simple-method>
 



Mime
View raw message