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

Velocity Macro sandboxing issue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: Velocity
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Take this use case:

      1/ A page A in wiki 1 defined the macro #livetable which is also defined in macros.vm
      2/ A page B in wiki 2 uses the macro #livetable

      Visit page A in wiki 1
      Visit page B in wiki 2 -> the livetable macro used in the one from wiki 1

      This use case also works in the same wiki but is particularly annoying in multiwiki as wikis should be sandboxed.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: