Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 212BC200CE9 for ; Sat, 19 Aug 2017 22:48:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1F7A3164B3D; Sat, 19 Aug 2017 20:48:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3E579164B3F for ; Sat, 19 Aug 2017 22:48:05 +0200 (CEST) Received: (qmail 25310 invoked by uid 500); 19 Aug 2017 20:48:04 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 25301 invoked by uid 99); 19 Aug 2017 20:48:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Aug 2017 20:48:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 906951A0728 for ; Sat, 19 Aug 2017 20:48:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id hS_76V9XMOio for ; Sat, 19 Aug 2017 20:48:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 20BD95FAF3 for ; Sat, 19 Aug 2017 20:48:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 98D4EE01BE for ; Sat, 19 Aug 2017 20:48:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 27A262537F for ; Sat, 19 Aug 2017 20:48:00 +0000 (UTC) Date: Sat, 19 Aug 2017 20:48:00 +0000 (UTC) From: "Jacques Le Roux (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (OFBIZ-9593) Input validation failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 19 Aug 2017 20:48:06 -0000 [ https://issues.apache.org/jira/browse/OFBIZ-9593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16134242#comment-16134242 ] Jacques Le Roux edited comment on OFBIZ-9593 at 8/19/17 8:47 PM: ----------------------------------------------------------------- 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 you should get to the main view after doing checkLogin (ie you can chain requests in URLs). 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); was (Author: jacques.le.roux): 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 you 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)