You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ap...@apache.org on 2008/03/17 08:12:10 UTC

svn commit: r637757 - /ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml

Author: apatel
Date: Mon Mar 17 00:12:09 2008
New Revision: 637757

URL: http://svn.apache.org/viewvc?rev=637757&view=rev
Log:
Merged code from validateUserInfo method into createUpdateUser method. validateUserInfo was not called from any other place so it did not make sense to have a method for it.

Modified:
    ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml

Modified: ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml?rev=637757&r1=637756&r2=637757&view=diff
==============================================================================
--- ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml (original)
+++ ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml Mon Mar 17 00:12:09 2008
@@ -25,7 +25,8 @@
     <!-- ======== Anonymous Checkout Events ======== -->
     <!-- =========================================== -->
     
-    <simple-method method-name="validateUserInfo" short-description="Validate User Information" login-required="false">
+    <simple-method method-name="createUpdateUser" short-description="Create or Update User" login-required="false">
+
         <property-to-field resource="security" property="username.lowercase" default="false" field-name="username_lowercase"/>
         <property-to-field resource="security" property="password.lowercase" default="false" field-name="password_lowercase"/>
         <set field="default_user_password" value="ungssblepsswd" />
@@ -289,12 +290,6 @@
         <set from-field="visit.visitId" field="partyDataSource.visitId"/>
         <log level="info" message="Setting up party ${error_list} "/>
         <!-- now that everything is validated & setup, check to see if there are errors, then call the services -->
-        <check-errors/>
-    </simple-method>
-    
-    <simple-method method-name="createUpdateUser" short-description="Create or Update User" login-required="false">
-
-        <call-simple-method method-name="validateUserInfo"/>
         <!-- see if we should continue now... -->
         <check-errors/>