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

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

    Details

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

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: