[ 
https://issues.apache.org/jira/browse/OFBIZ-9379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628590#comment-16628590
 ] 

Benjamin Jugl commented on OFBIZ-9379:
--------------------------------------

It seems as if some patch in the past solved this issue. It can not be 
replicated on the actual trunk. I did not go to all extends to locate the fix, 
but I think I can roughly pinpoint it to r1835616 to r1834628, when last 
modifications on this classes took place.

None the less an error is thrown when calling webtools/control/checkLogin/main:

{{|E| Error in request handler:}}
{{org.apache.ofbiz.webapp.control.RequestHandlerException: Unknown request 
[checkLogin]; this request does not exist or cannot be called directly.}}
{{        at 
org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:280)
 ~[ofbiz.jar:?]}}
{{        at 
org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:213) 
[ofbiz.jar:?]}}
{{        at 
org.apache.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87) 
[ofbiz.jar:?][...]}}

It is not shown in the frontend like the original error was.

It is due to the nested request that can not be resolved properly.

I think the useage of nested requests in this context should be considered as 
well, as requests that require authentication automatically (and without 
errors) redirect to the login page to execute authentication before calling the 
initial request. I can neither find the button Jacques mentioned nor is this 
link (checklogin/main) used in the actual trunk.

Apart from calling it directly, how can (or could) I get the error? Where has 
this nested request been used?

> No definition found for view with name [setLocaleFromBrowser]
> -------------------------------------------------------------
>
>                 Key: OFBIZ-9379
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9379
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework/webtools
>    Affects Versions: Trunk
>            Reporter: Michael Brohl
>            Assignee: Michael Brohl
>            Priority: Blocker
>
> After a fresh install, go to localhost:8443/webtools and login with the 
> default admin user. Next you get the :ERROR MESSAGE: view with the message 
> "org.apache.ofbiz.webapp.control.RequestHandlerException: No definition found 
> for view with name [setLocaleFromBrowser]".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to