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

The current ScriptContext should allow GLOBAL scope attribute by default

    XMLWordPrintable

    Details

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

      Description

      Right now setting GLOBAL scope attribute just do nothing which is quite a WTF given that the way XWiki work with ScriptContext binding setting GLOBAL scope is actually what makes the most sense (officially ENGINE scope is supposed to be dedicated to a specific script engine which is really not what we do).

        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: