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

Any Velocity macro defined in a template located in a skin stay in the VelocityEngine macros cache for good

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.1
    • Fix Version/s: 6.3-milestone-2
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      To reproduce:

      • define some macro in skins/flamingo/view.vm
      • use it in a page
      • remove the macro from skins/flamingo/view.vm

      -> the macro is still working

      Template from /templates/ don't have this issue because they are not executed the same way (which does not make much sense...).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: