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

Displayer does not properly restore context document when there is none

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.3
    • Fix Version/s: 4.1.4, 4.2-milestone-3
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      When calling a displayer for a document without any context document (some special action, REST resources, etc.) the displayer does not properly restore the context and a document is kept in the context. Among other things, it means that after the displayer is executed PR will be tested on the context document author instead of the context user.

        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: