Details
-
Bug
-
Status: Closed
-
Top
-
Resolution: Fixed
-
2.24.14
-
None
-
None
Description
I want to enable Freemarker support for my project and followed the instructions at [1]. Unfortunately at startup I run into an exception: freemarker.core.Configurable$UnknownSettingException: Unknown setting: continue-rendering-after-exception. I enabled this init-param in my web.xml with param-value true. This parameter only has a meaning for the HstFreemarkerServlet. But in its init() method, super.init() is called, which is the init of the FreemarkerServlet. This servlet also tries to interpret all <init-param>s from web.xml. And since it does not know the continue-rendering-after-exception, it throws an error.
My hst version is 2.24.14, freemarker version is 2.3.18.
A suggested workaround was using the freemarker variable template_exception_handler. But setting this to ignore or any other option does not seem to have any effect.
Attachments
Issue Links
- relates to
-
HSTTWO-2530 backport Setting continue-rendering-after-exception parameter for enabling Freemarker support leads to freemarker.core.Configurable$UnknownSettingException
- Closed