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

Force XWikiHibernate* components to use the XWikiContext from the Execution context

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 8.1-rc-1
    • 8.1-milestone-2
    • Old Core
    • None
    • Unknown
    • N/A

    Description

      XWikiHibernate* classes are quite critical and should protect themself from bad code calling with a XWikiContex which in not in sync with the Execution context (for example XWIKI-13389). Most of the time it ends up in broken cache at best. That's because many components called directly or indirectly by hibernate store methods are manipulating the XWikiContext found in the Execution context.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: