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

Introduce readonly XWikiContext provider

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 7.2-milestone-1
    • 7.1-rc-1
    • Old Core
    • None
    • Unknown

    Description

      In some case you don't care about getting a valid XWikiContext for sure, you just want the current one or null if none is set.

      In some low level components like User/Wiki/SpaceComponentManager generating a new valid XWikiContext can even create infinite loop because some stuff in the XWikiContext generator require to load some components which end up in User/Wiki/SpaceComponentManager again, etc.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: