svn commit: r1169673 - /ofbiz/branches/release11.04/applications/party/servicedef/services.xml

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

svn commit: r1169673 - /ofbiz/branches/release11.04/applications/party/servicedef/services.xml

jleroux@apache.org
Author: jleroux
Date: Mon Sep 12 10:09:32 2011
New Revision: 1169673

URL: http://svn.apache.org/viewvc?rev=1169673&view=rev
Log:
Makes First and Last names optional in createPerson service. This allows to implement simple create user login screen where user is able create account in system with username and password and then later populate rest of the account information.

I did not change simple-methods where processor-name="person" is called (in call-map-processor) because I think we want this change only in createPerson service. Hopefully with the comment it will be now quite obvious

Modified:
    ofbiz/branches/release11.04/applications/party/servicedef/services.xml

Modified: ofbiz/branches/release11.04/applications/party/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release11.04/applications/party/servicedef/services.xml?rev=1169673&r1=1169672&r2=1169673&view=diff
==============================================================================
--- ofbiz/branches/release11.04/applications/party/servicedef/services.xml (original)
+++ ofbiz/branches/release11.04/applications/party/servicedef/services.xml Mon Sep 12 10:09:32 2011
@@ -79,9 +79,11 @@ under the License.
         <attribute name="description" type="String" mode="IN" optional="true"/>
         <attribute name="externalId" type="String" mode="IN" optional="true"/>
         <attribute name="statusId" type="String" mode="IN" optional="true"/>
-        <override name="firstName" mode="IN" type="String" optional="false"/>
-        <override name="lastName" mode="IN" type="String" optional="false"/>
-    </service>
+        <!-- First and Last names are here optional. This allows to implement simple create user login screen where user is able create account
+            in system with username and password and then later populate rest of the account information. -->
+<!--        <override name="firstName" optional="false"/>
+        <override name="lastName" optional="false"/>
+-->    </service>
     <service name="createPersonAndUserLogin" engine="simple" require-new-transaction="true"
             location="component://party/script/org/ofbiz/party/party/PartySimpleMethods.xml" invoke="createPersonAndUserLogin" auth="false">
         <description>Create a Person and UserLogin</description>