[
https://issues.apache.org/jira/browse/OFBIZ-9593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16134242#comment-16134242
]
Jacques Le Roux commented on OFBIZ-9593:
----------------------------------------
Daniel,
About OFBIZ-9379, like that sounded impossible to me to view
bq. No definition found for view with name [setLocaleFromBrowser]"
after reverting r1788256, because setLocaleFromBrowser was introduced then, I
tried.
You need to restart OFBiz, I guess because of caches, to completely see this
error to disseapear.
Now I think we can forget this error, let is to OFBIZ-9379 and focus on the 2
others which are even a bit much for a sole issue ;)
And BTW, an url like webtools/control/checkLogin/main says that your should get
to the main view after doing checkLogin. It normally works but r1788256 has
introduced a quirk which makes it not working. This is related to this line in
RequestHandler class:
bq. renderView(viewName, requestMap.securityExternalView, request, response,
saveName);
> Input validation failure
> ------------------------
>
> Key: OFBIZ-9593
> URL: https://issues.apache.org/jira/browse/OFBIZ-9593
> Project: OFBiz
> Issue Type: Bug
> Components: framework, product
> Affects Versions: Trunk
> Environment: Linux 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3
> (2017-08-06) x86_64 GNU/Linux
> Reporter: Daniel Coric
>
> {code}
> 2017-08-18 13:43:48,995 |Test worker |UtilCodec |E| Canonicalization (format
> consistency, character escaping that is mixed or double, etc) error for
> attribute named [double-encoding], String [%2%353Cscript]:
> org.apache.ofbiz.base.util.UtilCodec$IntrusionException: Input validation
> failure
> 2017-08-18 13:44:55,023 |kJoinPool-1-worker-1 |UtilXml |E| XmlFileLoader:
> File
> /home/daniel/Development/Repositories/subversion/ofbiz-framework/applications/product/servicedef/services_facility.xml
> process error. Line: 162. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'type-validate'. One of '{exclude}'
> is expected.
> 2017-08-18 13:44:55,029 |kJoinPool-1-worker-1 |UtilXml |E| XmlFileLoader:
> File
> /home/daniel/Development/Repositories/subversion/ofbiz-framework/applications/product/servicedef/services_facility.xml
> process error. Line: 574. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'type-validate'. One of
> '{auto-attributes, attribute, override}' is expected.
> 2017-08-18 13:44:55,032 |kJoinPool-1-worker-1 |UtilXml |E| XmlFileLoader:
> File
> /home/daniel/Development/Repositories/subversion/ofbiz-framework/applications/product/servicedef/services_facility.xml
> process error. Line: 681. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'type-validate'. One of '{exclude}'
> is expected.
> 2017-08-18 13:44:55,036 |kJoinPool-1-worker-1 |UtilXml |E| XmlFileLoader:
> File
> /home/daniel/Development/Repositories/subversion/ofbiz-framework/applications/product/servicedef/services_facility.xml
> process error. Line: 786. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'type-validate'. One of
> '{auto-attributes, attribute, override}' is expected.
> 2017-08-18 13:46:54,821 |kJoinPool-1-worker-1 |UtilXml |E| XmlFileLoader:
> File
> /home/daniel/Development/Repositories/subversion/ofbiz-framework/applications/product/servicedef/services_facility.xml
> process error. Line: 162. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'type-validate'. One of '{exclude}'
> is expected.
> 2017-08-18 13:46:54,832 |kJoinPool-1-worker-1 |UtilXml |E| XmlFileLoader:
> File
> /home/daniel/Development/Repositories/subversion/ofbiz-framework/applications/product/servicedef/services_facility.xml
> process error. Line: 574. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'type-validate'. One of
> '{auto-attributes, attribute, override}' is expected.
> 2017-08-18 13:46:54,834 |kJoinPool-1-worker-1 |UtilXml |E| XmlFileLoader:
> File
> /home/daniel/Development/Repositories/subversion/ofbiz-framework/applications/product/servicedef/services_facility.xml
> process error. Line: 681. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'type-validate'. One of '{exclude}'
> is expected.
> 2017-08-18 13:46:54,836 |kJoinPool-1-worker-1 |UtilXml |E| XmlFileLoader:
> File
> /home/daniel/Development/Repositories/subversion/ofbiz-framework/applications/product/servicedef/services_facility.xml
> process error. Line: 786. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'type-validate'. One of
> '{auto-attributes, attribute, override}' is expected.
> 2017-08-18 13:47:35,845 |jsse-nio-8443-exec-7 |RequestHandler |E| Request
> setLocaleFromBrowser caused an error with the following message: User
> authorization is required for this service: setLocaleFromBrowser
> 2017-08-18 13:47:54,176 |jsse-nio-8443-exec-4 |ControlServlet |E| Error in
> request handler:
> org.apache.ofbiz.webapp.control.RequestHandlerException: No definition found
> for view with name [setLocaleFromBrowser]
> at
> org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:902)
> ~[ofbiz.jar:?]
> at
> org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:648)
> ~[ofbiz.jar:?]
> at
> org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:207)
> [ofbiz.jar:?]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
> [javax.servlet-api-3.1.0.jar:3.1.0]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> [javax.servlet-api-3.1.0.jar:3.1.0]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
> [tomcat-catalina-8.5.16.jar:8.5.16]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> [tomcat-catalina-8.5.16.jar:8.5.16]
> at
> org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:209)
> [ofbiz.jar:?]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> [tomcat-catalina-8.5.16.jar:8.5.16]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> [tomcat-catalina-8.5.16.jar:8.5.16]
> at
> org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:157)
> [ofbiz.jar:?]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> [tomcat-catalina-8.5.16.jar:8.5.16]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> [tomcat-catalina-8.5.16.jar:8.5.16]
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
> [tomcat-catalina-8.5.16.jar:8.5.16]
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
> [tomcat-catalina-8.5.16.jar:8.5.16]
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
> [tomcat-catalina-8.5.16.jar:8.5.16]
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
> [tomcat-catalina-8.5.16.jar:8.5.16]
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
> [tomcat-catalina-8.5.16.jar:8.5.16]
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
> [tomcat-catalina-8.5.16.jar:8.5.16]
> at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
> [tomcat-catalina-8.5.16.jar:8.5.16]
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
> [tomcat-catalina-8.5.16.jar:8.5.16]
> at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
> [tomcat-coyote-8.5.16.jar:8.5.16]
> at
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
> [tomcat-coyote-8.5.16.jar:8.5.16]
> at
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
> [tomcat-coyote-8.5.16.jar:8.5.16]
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
> [tomcat-coyote-8.5.16.jar:8.5.16]
> at
> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
> [tomcat-coyote-8.5.16.jar:8.5.16]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [?:1.8.0_131]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [?:1.8.0_131]
> at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> [tomcat-util-8.5.16.jar:8.5.16]
> at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
> 2017-08-18 13:47:54,182 |jsse-nio-8443-exec-4 |ControlServlet |E| An error
> occurred, going to the errorPage: /error/error.jsp
> 2017-08-18 13:47:54,184 |jsse-nio-8443-exec-4 |ControlServlet |E| Including
> errorPage: /error/error.jsp
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)