Author: arunpatidar
Date: Fri Oct 28 18:33:31 2016 New Revision: 1767059 URL: http://svn.apache.org/viewvc?rev=1767059&view=rev Log: Fixed: Removed occurences of updateShipmentGatewayConfigUsps and updateShipmentGatewayConfigUps from controller. As these services are renamed updateShipmentGatewayUsps and updateShipmentGatewayUps respectively after entity-auto conversion. (OFBIZ-8463) (OFBIZ-8464) Thanks: Jacques for reviewing and reporting issue. Modified: ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml Modified: ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml?rev=1767059&r1=1767058&r2=1767059&view=diff ============================================================================== --- ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml (original) +++ ofbiz/trunk/applications/product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml Fri Oct 28 18:33:31 2016 @@ -37,13 +37,7 @@ under the License. <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> <store-value value-field="lookedUpValue"/> </simple-method> - - <simple-method method-name="updateShipmentGatewayConfigUsps" short-description="Update Shipment Gateway Config USPS"> - <entity-one entity-name="ShipmentGatewayUsps" value-field="lookedUpValue"/> - <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> - <store-value value-field="lookedUpValue"/> - </simple-method> - + <simple-method method-name="updateShipmentGatewayConfigType" short-description="Update Shipment Gateway Config Type"> <entity-one entity-name="ShipmentGatewayConfigType" value-field="lookedUpValue"/> <set-nonpk-fields map="parameters" value-field="lookedUpValue"/> Modified: ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml?rev=1767059&r1=1767058&r2=1767059&view=diff ============================================================================== --- ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml (original) +++ ofbiz/trunk/applications/product/servicedef/services_shipmentgateway.xml Fri Oct 28 18:33:31 2016 @@ -31,12 +31,6 @@ under the License. <auto-attributes entity-name="ShipmentGatewayConfig" include="nonpk" mode="IN" optional="true"/> </service> - <service name="updateShipmentGatewayConfigUsps" engine="simple" location="component://product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml" invoke="updateShipmentGatewayConfigUsps"> - <description>Update Shipment Gateway Config USPS</description> - <auto-attributes entity-name="ShipmentGatewayUsps" include="pk" mode="IN" optional="false"/> - <auto-attributes entity-name="ShipmentGatewayUsps" include="nonpk" mode="IN" optional="true"/> - </service> - <service name="updateShipmentGatewayConfigDhl" engine="simple" location="component://product/minilang/shipment/shipment/ShipmentGatewayConfigServices.xml" invoke="updateShipmentGatewayConfigDhl"> <description>Update Shipment Gateway Config DHL</description> <auto-attributes entity-name="ShipmentGatewayDhl" include="pk" mode="IN" optional="false"/> Modified: ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml?rev=1767059&r1=1767058&r2=1767059&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml Fri Oct 28 18:33:31 2016 @@ -1295,13 +1295,13 @@ under the License. </request-map> <request-map uri="UpdateShipmentGatewayConfigUps"> <security https="true" auth="true"/> - <event type="service" invoke="updateShipmentGatewayConfigUps"/> + <event type="service" invoke="updateShipmentGatewayUps"/> <response name="success" type="view" value="EditShipmentGatewayConfig"/> <response name="error" type="view" value="EditShipmentGatewayConfig"/> </request-map> <request-map uri="UpdateShipmentGatewayConfigUsps"> <security https="true" auth="true"/> - <event type="service" invoke="updateShipmentGatewayConfigUsps"/> + <event type="service" invoke="updateShipmentGatewayUsps"/> <response name="success" type="view" value="EditShipmentGatewayConfig"/> <response name="error" type="view" value="EditShipmentGatewayConfig"/> </request-map> |
Free forum by Nabble | Edit this page |