You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2010/09/14 13:10:04 UTC
svn commit: r996840 - /ofbiz/trunk/framework/common/servicedef/services.xml
Author: jleroux
Date: Tue Sep 14 11:10:03 2010
New Revision: 996840
URL: http://svn.apache.org/viewvc?rev=996840&view=rev
Log:
Oops, checking http://svn.apache.org/viewvc?rev=996789&view=rev I see that I confused geoId and geoTypeId. When creating a Geo we want geoTypeId to be mandatory (IMO to create a Geo we need at least GeoId, GeoName and geoTypeId). On the other hand update needs anything (it's already there)
Modified:
ofbiz/trunk/framework/common/servicedef/services.xml
Modified: ofbiz/trunk/framework/common/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services.xml?rev=996840&r1=996839&r2=996840&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/servicedef/services.xml (original)
+++ ofbiz/trunk/framework/common/servicedef/services.xml Tue Sep 14 11:10:03 2010
@@ -687,13 +687,13 @@ under the License.
<auto-attributes include="pk" mode="INOUT"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
<override name="geoName" optional="false"/>
+ <override name="geoTypeId" optional="false"/>
</service>
<service name="updateGeo" default-entity-name="Geo" engine="entity-auto" invoke="update" auth="true">
<description>Update a Geo</description>
<permission-service service-name="commonGenericPermission" main-action="UPDATE"/>
<auto-attributes include="pk" mode="IN"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
- <override name="geoName" optional="false"/>
</service>
<service name="deleteGeo" default-entity-name="Geo" engine="entity-auto" invoke="delete" auth="true">
<description>Delete a Geo</description>