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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.4
    • 1.6
    • Engine
    • None
    • Operating System: other
      Platform: Other
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: