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

Annotated content rendering is broken on translated documents manipulating objects or attachments

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.8.1
    • Fix Version/s: 10.2, 9.11.4
    • Component/s: Annotations
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      This is a regression caused by XWIKI-6627. See also XWIKI-15066.

      At line 166 of DefaultIOTargetService, the DocumentDisplayer is eventually called with a translated document which gets into the context as the current document, causing unexpected results in macro and other scripts expecting a real document in the context.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: