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

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

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

apatel-2
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/>