[jira] [Created] (OFBIZ-9593) Input validation failure
Daniel Coric created OFBIZ-9593: --- Summary: 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 *error.log:* {panel:title=My title} {color:red} 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: {color} 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(Applicati
[jira] [Updated] (OFBIZ-9593) Input validation failure
[ https://issues.apache.org/jira/browse/OFBIZ-9593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Coric updated OFBIZ-9593: Description: {panel:title=error.log:} {color:red} 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: {color} 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.
[jira] [Commented] (OFBIZ-9593) Input validation failure
[ https://issues.apache.org/jira/browse/OFBIZ-9593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16134068#comment-16134068 ] Daniel Coric commented on OFBIZ-9593: - Hi Jacques, I'm really sorry for that missing part in my report - I could bet I had it in my text editor. ;) It's simply a (nasty) "welcome" error.log after svn checkout. The first error.log (from the bug report) is generated after I used "https://localhost:8443/webtools/control/main"; to login - the second one using "https://localhost:8443/accounting/control/main"; (after we've done with 'Steps to reproduce errors') follows. Steps to reproduce errors: svn checkout ofbiz-framework/trunk -> ./gradlew cleanAll loadAll -> ./gradlew ofbiz -> login* -> check error.log *if (https://localhost:8443/webtools/control/main) then (OFBIZ-9379 + same errors in error.log); if (https://localhost:8443/[accounting|content]/control/main) then (same errors in error.log). error.log: 2017-08-19 11:57:37,088 |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-19 11:58:39,416 |kJoinPool-1-worker-3 |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-19 11:58:39,422 |kJoinPool-1-worker-3 |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-19 11:58:39,423 |kJoinPool-1-worker-3 |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-19 11:58:39,425 |kJoinPool-1-worker-3 |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-19 12:02:13,487 |kJoinPool-1-worker-0 |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-19 12:02:13,495 |kJoinPool-1-worker-0 |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-19 12:02:13,496 |kJoinPool-1-worker-0 |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-19 12:02:13,513 |kJoinPool-1-worker-0 |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-19 12:04:10,602 |jsse-nio-8443-exec-6 |RequestHandler |E| Request setLocaleFromBrowser caused an error with the following message: User authorization is required for this service: setLocaleFromBrowser > 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 C
[jira] [Commented] (OFBIZ-9593) Input validation failure
[ https://issues.apache.org/jira/browse/OFBIZ-9593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16134080#comment-16134080 ] Daniel Coric commented on OFBIZ-9593: - Yes Jacques, I just copy-pasted my error.log after first login sorry if it was confusing - wasn't sure if it is related. > 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) > [o
[jira] [Commented] (OFBIZ-9593) Input validation failure
[ https://issues.apache.org/jira/browse/OFBIZ-9593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16134102#comment-16134102 ] Daniel Coric commented on OFBIZ-9593: - Reverting r1788256 fixes the erorrs from this bug report - error.log is clean after reverting ( and cleanAll loadAll). But, [OFBIZ-9379|https://issues.apache.org/jira/browse/OFBIZ-9379] stays. > 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
[jira] [Commented] (OFBIZ-9593) Input validation failure
[ https://issues.apache.org/jira/browse/OFBIZ-9593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16134106#comment-16134106 ] Daniel Coric commented on OFBIZ-9593: - What I meant with: "But, OFBIZ-9379 stays." - error.log is clean, as I said, but redirection to "https://localhost:8443/webtools/control/checkLogin/setLocaleFromBrowsererror"-page with :ERROR MESSAGE: "org.apache.ofbiz.webapp.control.RequestHandlerException: No definition found for view with name [setLocaleFromBrowser]" after login is still there. > 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(RequestHa
[jira] [Commented] (OFBIZ-9373) create new blog article entry error.
[ https://issues.apache.org/jira/browse/OFBIZ-9373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16049648#comment-16049648 ] Daniel Coric commented on OFBIZ-9373: - Hello Yao and Jacques, I have run into the same problem in "16.11.02" - "dataResourceTypeId=ELECTRONIC_TEXT}]: The following required parameter is missing: [IN] [createElectronicText.dataResourceId]]". Any solution? Thank you, Daniel > create new blog article entry error. > > > Key: OFBIZ-9373 > URL: https://issues.apache.org/jira/browse/OFBIZ-9373 > Project: OFBiz > Issue Type: Bug > Components: content >Affects Versions: Trunk >Reporter: yao >Assignee: Jacques Le Roux > > 1、when i try to create a new blog article, i get the following error message: > In field [articleData] less-than (<) and greater-than (>) > symbols are not allowed. > it seems that this field does not support html text ! > 2、after i use plain text for the field [articleData], when i post the form, i > get the following error message: > The following required parameter is missing: [IN] > [createElectronicText.dataResourceId]] > and i go through the code that handles the request and the log record, to > find that the following eca does not execute which causes the error: > > > > > > result-to-context="true"/> > > does the problem lies in the framework code ? -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (OFBIZ-9373) create new blog article entry error.
[ https://issues.apache.org/jira/browse/OFBIZ-9373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16052897#comment-16052897 ] Daniel Coric commented on OFBIZ-9373: - Hello Yao and Jacques, I just changed from mode="INOUT" to mode="IN" (Line: 107) in the "/ofbiz-16.11/applications/content/servicedef/services_data.xml" and rebuilt the project - as far as I can see everything works as expected. We can find the same line in the release15.12 "/ofbiz-15.12/applications/content/servicedef/services_data.xml" (Line: 108) and there everything works as expected. I must admit, I don't understand this change. > create new blog article entry error. > > > Key: OFBIZ-9373 > URL: https://issues.apache.org/jira/browse/OFBIZ-9373 > Project: OFBiz > Issue Type: Bug > Components: content >Affects Versions: Trunk >Reporter: yao >Assignee: Jacques Le Roux > > 1、when i try to create a new blog article, i get the following error message: > In field [articleData] less-than (<) and greater-than (>) > symbols are not allowed. > it seems that this field does not support html text ! > 2、after i use plain text for the field [articleData], when i post the form, i > get the following error message: > The following required parameter is missing: [IN] > [createElectronicText.dataResourceId]] > and i go through the code that handles the request and the log record, to > find that the following eca does not execute which causes the error: > > > > > > result-to-context="true"/> > > does the problem lies in the framework code ? -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (OFBIZ-9426) The following required parameter is missing: [IN] [removeWebSitePathAlias.fromDate].
Daniel Coric created OFBIZ-9426: --- Summary: The following required parameter is missing: [IN] [removeWebSitePathAlias.fromDate]. Key: OFBIZ-9426 URL: https://issues.apache.org/jira/browse/OFBIZ-9426 Project: OFBiz Issue Type: Bug Components: cmssite, content Affects Versions: Release Branch 16.11, Release Branch 15.12 Environment: Debian 4.9.30-2+deb9u1 (2017-06-18) x86_64 GNU/Linux Reporter: Daniel Coric Unable to delete "path alias" in the "content"-component. The Following Errors Occurred: The following required parameter is missing: [IN] [removeWebSitePathAlias.fromDate]. Steps to reproduce the error: Content -> WebSites -> WebSite1 -> PATH ALIAS -> Search Results: demoHome1 -> Delete -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (OFBIZ-9426) The following required parameter is missing: [IN] [removeWebSitePathAlias.fromDate].
[ https://issues.apache.org/jira/browse/OFBIZ-9426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Coric updated OFBIZ-9426: Attachment: error.log > The following required parameter is missing: [IN] > [removeWebSitePathAlias.fromDate]. > > > Key: OFBIZ-9426 > URL: https://issues.apache.org/jira/browse/OFBIZ-9426 > Project: OFBiz > Issue Type: Bug > Components: cmssite, content >Affects Versions: Release Branch 15.12, Release Branch 16.11 > Environment: Debian 4.9.30-2+deb9u1 (2017-06-18) x86_64 GNU/Linux >Reporter: Daniel Coric > Attachments: error.log > > > Unable to delete "path alias" in the "content"-component. > The Following Errors Occurred: > The following required parameter is missing: [IN] > [removeWebSitePathAlias.fromDate]. > Steps to reproduce the error: > Content -> WebSites -> WebSite1 -> PATH ALIAS -> Search Results: demoHome1 -> > Delete -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (OFBIZ-9432) Error running the simple-method: Error running groovy script
Daniel Coric created OFBIZ-9432: --- Summary: Error running the simple-method: Error running groovy script Key: OFBIZ-9432 URL: https://issues.apache.org/jira/browse/OFBIZ-9432 Project: OFBiz Issue Type: Bug Components: ecommerce Affects Versions: Release Branch 16.11 Environment: Linux 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u1 (2017-06-18) x86_64 GNU/Linux Reporter: Daniel Coric The Following Errors Occurred: Error running the simple-method: Error running groovy script [ // clear out the login fields from the cart try { if (cart!=null) cart.setAutoUserLogin(null, dispatcher); } catch (CartItemModifyException e) { Debug.logError(e, module); } ]: javax.script.ScriptException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:Script5.groovy: 5: unable to resolve class CartItemModifyException @ line 5, column 23. } catch (CartItemModifyException e) { ^1 error Method = createUpdateCustomer, File = file:/home/daniel/Development/Repositories/subversion/ofbiz-16.11/specialpurpose/ecommerce/minilang/customer/QuickAnonCustomerEvents.xml, Element =