Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-277

macros in #parsed files are not refreshed when including page is refreshed

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.6
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other
    • Bugzilla Id:
      29959

      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

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tim.white@qwest.com Tim White
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: