Details
Description
If a template #parses a file containing velocimacros, changes those macros do
not make it into the including template. This is true whether the file is
included via the library property or via #parse.
Although there is the velocimacro.library.autoreload property, it is "not for
use in production" according to the documentation - and cannot be used with
template caching.
Also, often, macros included via #parse do not pick up their macros the first
time they are compiiled. And with template caching they are only ever called
once, this leads to situations where changes in templates that include macros
and are cached do not function in production.
Attachments
Issue Links
- duplicates
-
VELOCITY-362 can't load macros in file loaded with #parse
-
- Resolved
-