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

Document displayer put the wrong XWikiDocument instance in the context

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 8.3
    • 3.2 M3
    • Display
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Makes impossible to fully use the document displayer with a custom document since whatever the a script in the document content try to get from the context document might not be accurate.

      See DocumentContentDisplayer#displayInIsolatedExecutionContext.

      The workaround is to disable context isolation and do it outside of the document displayer call.

      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: