Author: jacopoc
Date: Mon Apr 2 02:06:51 2007
New Revision: 524751
URL:
http://svn.apache.org/viewvc?view=rev&rev=524751Log:
Fixed bug reported by Jason Wu in the user mailing list: the createProductStoreShipMeth service was failing because I did not update the service definition to reflect the recent change to the entity primary key.
Modified:
ofbiz/trunk/applications/product/servicedef/services_store.xml
Modified: ofbiz/trunk/applications/product/servicedef/services_store.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_store.xml?view=diff&rev=524751&r1=524750&r2=524751==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_store.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_store.xml Mon Apr 2 02:06:51 2007
@@ -165,19 +165,22 @@
<!-- Product Store Shipping Method Services -->
<service name="createProductStoreShipMeth" default-entity-name="ProductStoreShipmentMeth" engine="simple"
location="org/ofbiz/product/store/ProductStoreServices.xml" invoke="createProductStoreShipMeth" auth="true">
- <description>Create a Product Store Email Setting</description>
- <auto-attributes include="pk" mode="IN" optional="false"/>
+ <description>Create a Product Store Shipment Method</description>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
+ <override name="productStoreId" optional="false"/>
+ <override name="shipmentMethodTypeId" optional="false"/>
+ <override name="partyId" optional="false"/>
+ <override name="roleTypeId" optional="false"/>
</service>
<service name="updateProductStoreShipMeth" default-entity-name="ProductStoreShipmentMeth" engine="simple"
location="org/ofbiz/product/store/ProductStoreServices.xml" invoke="updateProductStoreShipMeth" auth="true">
- <description>Update a Product Store Email Setting</description>
+ <description>Update a Product Store Shipment Method</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="true"/>
</service>
<service name="removeProductStoreShipMeth" default-entity-name="ProductStoreShipmentMeth" engine="simple"
location="org/ofbiz/product/store/ProductStoreServices.xml" invoke="removeProductStoreShipMeth" auth="true">
- <description>Remove a Product Store Email Setting</description>
+ <description>Remove a Product Store Shipment Method</description>
<auto-attributes include="pk" mode="IN" optional="false"/>
</service>