Author: doogie
Date: Sun Jun 26 18:07:33 2011
New Revision: 1139854
URL:
http://svn.apache.org/viewvc?rev=1139854&view=revLog:
FIX: service:createEmailAddress: Don't *require* nonpk ContactMech
fields.
Modified:
ofbiz/trunk/applications/party/servicedef/services.xml
Modified: ofbiz/trunk/applications/party/servicedef/services.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/servicedef/services.xml?rev=1139854&r1=1139853&r2=1139854&view=diff==============================================================================
--- ofbiz/trunk/applications/party/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/party/servicedef/services.xml Sun Jun 26 18:07:33 2011
@@ -525,7 +525,7 @@ under the License.
<service name="createEmailAddress" engine="simple"
location="component://party/script/org/ofbiz/party/contact/ContactMechServices.xml" invoke="createEmailAddress" auth="true">
<description>Create an Email Address</description>
- <auto-attributes entity-name="ContactMech" include="nonpk" mode="IN" optional="false"/>
+ <auto-attributes entity-name="ContactMech" include="nonpk" mode="IN" optional="true"/>
<auto-attributes entity-name="ContactMech" include="pk" mode="OUT" optional="false"/>
<attribute name="emailAddress" type="String" mode="IN" optional="false"/>
<override name="infoString" optional="true"/>