/[Apache-SVN]
ViewVC logotype

Revision 1518777


Jump to revision: Previous Next
Author: jleroux
Date: Thu Aug 29 19:37:44 2013 UTC (10 years, 7 months ago)
Changed paths: 11
Log Message:
This fixes "Net before overhead report generates an error" https://issues.apache.org/jira/browse/OFBIZ-5267

This is related with r1361130, where the birt component was moved from framework to specialpurpose.

The fix is to create the possibility of a loose coupling from applications controllers to specialpurpose controllers. For that an if-present attribute is added to the include element. When used, if the included controller does not exist, instead of an error and a stack trace, a warning is thrown (only in English, for developers) suggesting to checkout the component from trunk. Indeed, in the current case, this situation should only arise in release after 12.04 where the birt component, like all others but the ecommerce component, had been removed. This can be used in other cases, but for now only the component level is covered.

Changed paths

Path Details
Directoryofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/controller.xml modified , text changed
Directoryofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml modified , text changed
Directoryofbiz/trunk/applications/product/webapp/facility/WEB-INF/controller.xml modified , text changed
Directoryofbiz/trunk/framework/base/src/org/ofbiz/base/location/ComponentLocationResolver.java modified , text changed
Directoryofbiz/trunk/framework/base/src/org/ofbiz/base/util/FileUtil.java modified , text changed
Directoryofbiz/trunk/framework/webapp/dtd/site-conf.xsd modified , text changed
Directoryofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ConfigXMLReader.java modified , text changed
Directoryofbiz/trunk/specialpurpose/birt/ofbiz-component.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/birt/webapp/accounting/WEB-INF/controller.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/birt/webapp/facility/WEB-INF/controller.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/birt/webapp/ordermgr/WEB-INF/controller.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26