Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3423

Use of includeMacros in syntax 2.0 has a cache issue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Labels:
      None
    • Similar issues:

      Description

      In syntax 2.0 if you create a macro file and use it with the following syntax

      {{velocity}}
      #includeMacros("Test.MacroPage")
      ...
      {{/velocity}}
      

      Then there is a cache issue. If you change the macro definition in Test.MacroPage, it will not be taken into account (you can workaround the problem by using include to make the new macro being taken into account but include includes HTML and White lines with it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              ludovic Ludovic Dubost
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: