ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OFBIZ-10434) Common theme does not work when using a path with a space in
Date Thu, 14 Jun 2018 14:46:00 GMT
Jacques Le Roux created OFBIZ-10434:
---------------------------------------

             Summary: Common theme does not work when using a path with a space in
                 Key: OFBIZ-10434
                 URL: https://issues.apache.org/jira/browse/OFBIZ-10434
             Project: OFBiz
          Issue Type: Bug
          Components: themes
    Affects Versions: Trunk, 17.12.01
            Reporter: Jacques Le Roux


On Windows a least, but I guess also on *nix OS, when I use a path with a space in like {{C:\projectsASF\ofbiz-framework
-Copie}} I get this error:
{code}
2018-06-14 16:40:51,623 |jsse-nio-8443-exec-3 |ControlServlet                |W| Communication
error with the client while processing the request: /catalog/control/login
org.apache.ofbiz.webapp.control.RequestHandlerException: Error in the response writer/output
stream: freemarker.template.TemplateNotFoundException: Template not found for name "component://common-theme/templa
te/macro/HtmlScreenMacroLibrary.ftl".
The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = org.apache.ofbiz.base.util.template.FreeMarkerWorker$FlexibleTemplateLoader@cde0d8,
loader2 = StringTemplateLoader(Map { })). (Te
mplate not found for name "component://common-theme/template/macro/HtmlScreenMacroLibrary.ftl".
The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = org.apache.ofbiz.base.util.template.FreeMarkerWorker$FlexibleTemplateLoader@cde0d8,
loader2 = StringTemplateLoader(Map { })).)
    at org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:1002)
~[ofbiz.jar:?]
  at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:646) ~[ofbiz.jar:?]
    at org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:213) [ofbiz.jar:?]
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:686) [javax.servlet-api-4.0.0.jar:4.0.0]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:791) [javax.servlet-api-4.0.0.jar:4.0.0]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
[tomcat-catalina-9.0.7.jar:9.0.7]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-9.0.7.jar:9.0.7]
 at org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:191) [ofbiz.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
[tomcat-catalina-9.0.7.jar:9.0.7]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-9.0.7.jar:9.0.7]
 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-9.0.7.jar:9.0.7]
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-9.0.7.jar:9.0.7]
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) [tomcat-catalina-9.0.7.jar:9.0.7]
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
[tomcat-catalina-9.0.7.jar:9.0.7]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
[tomcat-catalina-9.0.7.jar:9.0.7]
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) [tomcat-catalina-9.0.7.jar:9.0.7]
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-catalina-9.0.7.jar:9.0.7]
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
[tomcat-catalina-9.0.7.jar:9.0.7]
  at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:651)
[tomcat-catalina-9.0.7.jar:9.0.7]
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-catalina-9.0.7.jar:9.0.7]
       at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:407) [tomcat-coyote-9.0.7.jar:9.0.7]
  at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote-9.0.7.jar:9.0.7]
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754)
[tomcat-coyote-9.0.7.jar:9.0.7]
     at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1376)
[tomcat-coyote-9.0.7.jar:9.0.7]
 at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote-9.0.7.jar:9.0.7]
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_112]
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_112]
       at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
[tomcat-util-9.0.7.jar:9.0.7]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
Caused by: freemarker.template.TemplateNotFoundException: Template not found for name "component://common-theme/template/macro/HtmlScreenMacroLibrary.ftl".
The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = org.apache.ofbiz.base.util.template.FreeMarkerWorker$FlexibleTemplateLoader@cde0d8,
loader2 = StringTemplateLoader(Map { })).
        at freemarker.template.Configuration.getTemplate(Configuration.java:2701) ~[freemarker-2.3.27-incubating.jar:2.3.27]
   at freemarker.template.Configuration.getTemplate(Configuration.java:2503) ~[freemarker-2.3.27-incubating.jar:2.3.27]
   at org.apache.ofbiz.base.util.template.FreeMarkerWorker.getTemplate(FreeMarkerWorker.java:258)
~[ofbiz.jar:?]
  at org.apache.ofbiz.base.util.template.FreeMarkerWorker.getTemplate(FreeMarkerWorker.java:252)
~[ofbiz.jar:?]
  at org.apache.ofbiz.widget.renderer.macro.MacroScreenRenderer.<init>(MacroScreenRenderer.java:88)
~[ofbiz.jar:?]
       at org.apache.ofbiz.widget.renderer.macro.MacroScreenViewHandler.loadRenderers(MacroScreenViewHandler.java:70)
~[ofbiz.jar:?]
  at org.apache.ofbiz.widget.renderer.macro.MacroScreenViewHandler.render(MacroScreenViewHandler.java:110)
~[ofbiz.jar:?]
        at org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:999)
~[ofbiz.jar:?]
   ... 29 more
{code}
As soon as I remove the space things work again.



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

Mime
View raw message