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

includeMacro() no longer works in XE 2.4

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.5 M1, 2.4.1
    • Component/s: Velocity
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      The Balsamiq Mockups plugin has historically been using

      {{velocity}}{{html}}#includeMacros("Mockups.MacrosV2"){{/html}}{{/velocity}}

      at the top of a page with embedded mockups. This syntax is failing in 2.4 and is creating issues for people needing to migrate to 2.4. Any suggestions for a quick fix (other than moving to

      {{include document="Mockups.MacrosV2"}}

      which I have implemented but not yet released because these installations will have possibly many pages with the old syntax).

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              kaaloo Luis Arias
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: