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

Velocity and general script contexts are not always in sync

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.3-milestone-1
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Similar issues:

      Description

      • we still have various places directly manipulating the context
      • things put in the ScriptContext don't always end up in the VelocityContext (mostly because of the first issue)

      We need to get rid of any java code manipulating the Velocity context and have the ScriptContext being the only reference.

      The current situation makes quite hard to set binding for wiki content and be sure everything will have access to it.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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