Author: pranayp
Date: Sat May 7 14:09:23 2016 New Revision: 1742714 URL: http://svn.apache.org/viewvc?rev=1742714&view=rev Log: OFBIZ-7044 - Removed redundant entries of handlers from controllers where common-controller is already included. Thanks Amardeep Singh Jhajj for reporting this improvement and providing patch for the same. Modified: ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml ofbiz/trunk/specialpurpose/scrum/webapp/demotest/WEB-INF/controller.xml ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/controller.xml Modified: ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml?rev=1742714&r1=1742713&r2=1742714&view=diff ============================================================================== --- ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/content/webapp/content/WEB-INF/controller.xml Sat May 7 14:09:23 2016 @@ -24,7 +24,6 @@ under the License. <include location="component://commonext/webapp/WEB-INF/controller.xml"/> <description>Content Manager Module Site Configuration File</description> - <handler name="service-multi" type="request" class="org.ofbiz.webapp.event.ServiceMultiEventHandler"/> <handler name="simplecontent" type="view" class="org.ofbiz.content.view.SimpleContentViewHandler"/> <!-- Events to run on every request before security (chains exempt) --> Modified: ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml?rev=1742714&r1=1742713&r2=1742714&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/controller.xml Sat May 7 14:09:23 2016 @@ -25,8 +25,6 @@ under the License. <include location="component://party/webapp/partymgr/WEB-INF/controller.xml"/> <description>Human Resources Manager Module Site Configuration File</description> - <!-- view handlers --> - <handler name="service-multi" type="request" class="org.ofbiz.webapp.event.ServiceMultiEventHandler"/> <!-- Events to run on every request before security (chains exempt) --> <!-- Modified: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml?rev=1742714&r1=1742713&r2=1742714&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml Sat May 7 14:09:23 2016 @@ -24,9 +24,6 @@ under the License. <include location="component://commonext/webapp/WEB-INF/controller.xml"/> <description>Manufacturing Component Site Configuration File</description> - <!-- event handlers --> - <handler name="service-multi" type="request" class="org.ofbiz.webapp.event.ServiceMultiEventHandler"/> - <handler name="groovy" type="request" class="org.ofbiz.webapp.event.GroovyEventHandler"/> <!-- Events to run on every request before security (chains exempt) --> <!-- Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml?rev=1742714&r1=1742713&r2=1742714&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml Sat May 7 14:09:23 2016 @@ -25,9 +25,6 @@ under the License. <include location="component://content/webapp/content/WEB-INF/controller.xml"/> <description>Order Manager Module Site Configuration File</description> - <!-- event handlers --> - <handler name="service-multi" type="request" class="org.ofbiz.webapp.event.ServiceMultiEventHandler"/> - <handler name="groovy" type="request" class="org.ofbiz.webapp.event.GroovyEventHandler"/> <!-- Events to run on every request before security (chains exempt) --> <!-- <preprocessor> Modified: ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml?rev=1742714&r1=1742713&r2=1742714&view=diff ============================================================================== --- ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml Sat May 7 14:09:23 2016 @@ -26,7 +26,6 @@ under the License. <include location="component://content/webapp/content/WEB-INF/controller.xml"/> <description>Party Manager Module Site Configuration File</description> - <handler name="service-multi" type="request" class="org.ofbiz.webapp.event.ServiceMultiEventHandler"/> <handler name="simplecontent" type="view" class="org.ofbiz.content.view.SimpleContentViewHandler"/> <!-- Events to run on every request before security (chains exempt) --> Modified: ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml?rev=1742714&r1=1742713&r2=1742714&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/controller.xml Sat May 7 14:09:23 2016 @@ -25,8 +25,6 @@ under the License. <include location="component://commonext/webapp/WEB-INF/controller.xml"/> <description>Catalog Module Site Configuration File</description> - <handler name="service-multi" type="request" class="org.ofbiz.webapp.event.ServiceMultiEventHandler"/> - <handler name="groovy" type="request" class="org.ofbiz.webapp.event.GroovyEventHandler"/> <firstvisit></firstvisit> <!-- Events to run on every request before security (chains exempt) --> 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=1742714&r1=1742713&r2=1742714&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml Sat May 7 14:09:23 2016 @@ -24,7 +24,6 @@ under the License. <include location="component://commonext/webapp/WEB-INF/controller.xml"/> <description>Facility Manager Module Site Configuration File</description> - <handler name="service-multi" type="request" class="org.ofbiz.webapp.event.ServiceMultiEventHandler"/> <handler name="bsf" type="request" class="org.ofbiz.webapp.event.BsfEventHandler"/> Modified: ofbiz/trunk/specialpurpose/scrum/webapp/demotest/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/demotest/WEB-INF/controller.xml?rev=1742714&r1=1742713&r2=1742714&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/scrum/webapp/demotest/WEB-INF/controller.xml (original) +++ ofbiz/trunk/specialpurpose/scrum/webapp/demotest/WEB-INF/controller.xml Sat May 7 14:09:23 2016 @@ -24,8 +24,6 @@ under the License. <include location="component://workeffort/webapp/workeffort/WEB-INF/controller.xml" /> <description>scrum Component Site Configuration File</description> - <handler name="service-multi" type="request" - class="org.ofbiz.webapp.event.ServiceMultiEventHandler" /> <request-map uri="main"> <security https="false" auth="false" /> Modified: ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/controller.xml?rev=1742714&r1=1742713&r2=1742714&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/controller.xml (original) +++ ofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/controller.xml Sat May 7 14:09:23 2016 @@ -8,7 +8,6 @@ <description>Solr Configuration File</description> - <handler name="service-multi" type="request" class="org.ofbiz.webapp.event.ServiceMultiEventHandler"/> <handler name="simplecontent" type="view" class="org.ofbiz.content.view.SimpleContentViewHandler"/> <handler name="jsp" type="view" class="org.ofbiz.ecommerce.webapp.view.JspViewHandler"/> |
Free forum by Nabble | Edit this page |