You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Will Glass-Husain (JIRA)" <de...@velocity.apache.org> on 2007/08/24 06:14:30 UTC
[jira] Resolved: (VELOCITY-277) macros in #parsed files are not
refreshed when including page is refreshed
[ https://issues.apache.org/jira/browse/VELOCITY-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Will Glass-Husain resolved VELOCITY-277.
----------------------------------------
Resolution: Fixed
This is fixed and in svn head. More details in Velocity.362.
> macros in #parsed files are not refreshed when including page is refreshed
> --------------------------------------------------------------------------
>
> Key: VELOCITY-277
> URL: https://issues.apache.org/jira/browse/VELOCITY-277
> Project: Velocity
> Issue Type: Improvement
> Components: Engine
> Affects Versions: 1.4
> Environment: Operating System: other
> Platform: Other
> Reporter: Tim White
> Priority: Critical
> Fix For: 1.6
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org