freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacopo Cappellato (JIRA)" <>
Subject [jira] [Commented] (FREEMARKER-34) ignore_missing option of the <#include does directive not work as expected
Date Tue, 20 Sep 2016 08:17:20 GMT


Jacopo Cappellato commented on FREEMARKER-34:

Your "blind guess" was indeed right, thank you [~ddekany]!
I was able to fix the error by changing as you have suggested the custom loader that is implemented
in OFBiz.
I actually have a question about an implementation detail for TemplateLoader, but I will ask
it to the dev list.
Thank you again.

> ignore_missing option of the <#include does directive not work as expected
> --------------------------------------------------------------------------
>                 Key: FREEMARKER-34
>                 URL:
>             Project: Apache Freemarker
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 2.3.24-incubating
>         Environment: Windows and *nix
>            Reporter: Jacques Le Roux
> I found this issue while working on OFBIZ-8250.
> It can be easily reproduced on our trunk demo at 
> By default the footer shows information about the revision and others. They are beforehand
generated in a file which is then used by a Freemarker template for rendering.
> This template depends on themes, by default it's at 
(see lines 26-27)
> If we remove the generated file, which is at /home/ofbizDemo/trunk/runtime/SvnInfo.ftl
on the OFBiz demo server. Then the error appears.
> Let me know when you want to test this (ie temporary rename the file). Even if it's benign,
better to not annoy OFBiz users with this issue on screen.
> Thanks!

This message was sent by Atlassian JIRA

View raw message