This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit 7e3d4230dc7cc983afff2c57d0c428cf4671fad4
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Sun Oct 6 19:08:44 2024 +0200

    Improved: hides "Unknown request [authview]" in RequestHandler.java
    
    The complete line is:
    Unknown request [authview]; this request does not exist or cannot be called 
directly
    
    The error appears when authview/getUiLabels is called. No need to show that 
in log
---
 .../src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
 
b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
index 9085355f0c..020bc83f91 100644
--- 
a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
+++ 
b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
@@ -395,7 +395,7 @@ public final class RequestHandler {
         Collection<RequestMap> rmaps = resolveURI(ccfg, request);
         if (rmaps.isEmpty()) {
             if (throwRequestHandlerExceptionOnMissingLocalRequest) {
-                if (path.contains("/checkLogin/") || 
path.contains("/sendconfirmationmail/")) {
+                if (path.contains("/checkLogin/") || 
path.contains("/sendconfirmationmail/") || path.contains("/getUiLabels")) {
                     // Nested requests related with checkLogin and 
sendconfirmationmail are OK.
                     // There is nothing to worry about, better remove these 
wrong errors messages.
                     return;

Reply via email to