Moves throwRequestHandlerExceptionOnMissingLocalRequest from general.properties to requestHandler.properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1393367 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -143,6 +143,3 @@ multitenant=N
|
||||
# -- Y if you use a cluster. Most of the time this should not be needed. Setting distributed-cache-clear-enabled="true" is enough
|
||||
# -- to guarantee no sequenceIds duplicates. See OFBIZ-2353 for details
|
||||
cluster=N
|
||||
|
||||
# -- N if you want to use external requests (not in available in current controller), see OFBIZ-5037
|
||||
throwRequestHandlerExceptionOnMissingLocalRequest=Y
|
||||
@@ -0,0 +1,2 @@
|
||||
# -- N if you want to use external requests (not in available in current controller), see OFBIZ-5037
|
||||
throwRequestHandlerExceptionOnMissingLocalRequest=Y
|
||||
@@ -67,7 +67,7 @@ public class RequestHandler {
|
||||
|
||||
public static final String module = RequestHandler.class.getName();
|
||||
private static final Boolean THROW_REQUEST_HANDLER_EXCEPTION_ON_MISSING_LOCAL_REQUEST =
|
||||
UtilProperties.propertyValueEqualsIgnoreCase("general.properties", "throwRequestHandlerExceptionOnMissingLocalRequest", "Y");
|
||||
UtilProperties.propertyValueEqualsIgnoreCase("requestHandler.properties", "throwRequestHandlerExceptionOnMissingLocalRequest", "Y");
|
||||
|
||||
public static RequestHandler getRequestHandler(ServletContext servletContext) {
|
||||
RequestHandler rh = (RequestHandler) servletContext.getAttribute("_REQUEST_HANDLER_");
|
||||
|
||||
Reference in New Issue
Block a user