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

XWikiDocument.getRenderedContent and XWikiDocument.display do not set the proper document in the context

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.840, 0.9.1252, 1.0 B1, 1.0 B2
    • Fix Version/s: 1.0 B3
    • Component/s: {Unused} Core
    • Labels:
      None
    • Similar issues:

      Description

      Just like includeTopic, getRenderedContent and display should set the current document as the context document. This causes problems with the

      {attach}

      and

      {image}

      macros, using a different document as the container.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sdumitriu Sergiu Dumitriu
                Reporter:
                sdumitriu Sergiu Dumitriu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: