Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1734

The script context stored in the ExecutionContext is not inherited

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.11.9
    • Fix Version/s: 11.8-rc-1
    • Component/s: Script
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Contrary to the Velocity one.

      This means that if you define a script binding and then push a new context it won't be available.

      In practice it's not very noticeable because as you execute Velocity you end up putting back in the script context the bindings you "lost" when the ExecutionContext was cloned.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: