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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0 B3
    • 0.9.840, 0.9.1252, 1.0 B1, 1.0 B2
    • {Unused} Core
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: