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

In syntax 1.0 the groovy parser doesn't support xcontext. Also context and xcontext should be the same api.Context object

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.2 M1
    • Component/s: {Unused} Rendering 1.0
    • Labels:
      None
    • keywords:
      xcontext context
    • Difficulty:
      Trivial
    • Similar issues:

      Description

      #1 The bug: In syntax 1.0 the Context is known only as 'context' and not as 'xcontext'. Since 'xcontext' is the new standard, it should be back ported to groovy.

      #2 The Improvement: In syntax 1.0 velocity (and groovy since revision 26046) xcontext and context are different api.Context objects although they point to the same underlying XWikiContext object.

        Attachments

          Activity

            People

            • Assignee:
              calebjamesdelisle CalebJamesDeLisle
              Reporter:
              calebjamesdelisle CalebJamesDeLisle
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: