-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
5.4
-
None
-
None
I set the
magnolia.resources.dir=${magnolia.home}/light-modules
And put the "Hello Magnolia" sample in there.
I was able to create a page with that template from "Hello Magnolia"
but when it tried to render it I get an exception.
Caused by: java.io.FileNotFoundException: Template "/hello-magnolia/templates/pages/hello.ftl" not found. The quoted name was interpreted by this template loader: info.magnolia.freemarker.FreemarkerHelper$ConfigDelegatingTemplateLoader@7ff4ef56. at freemarker.template.Configuration.getTemplate(Configuration.java:995)
However everything works as expected when resource dir is just HOME. So apparently some problem in the path resolution of the ftl file.
Acceptance criteria
- duplicates
-
MAGNOLIA-6214 FreeMarker template scripts should be loaded with new Resource API
- Closed