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

XWikiDocument#display should get the current syntax from real current document being executed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.9, 2.0 M1
    • 1.8.4, 1.9 RC1
    • {Unused} Rendering 2.0
    • None
    • Unit
    • Unknown

    Description

      $context.doc is the the document being executed, it's the "main" context document. When using #includeForm from Doc1 to include Doc2, when executing Doc2 the $context.doc will be Doc1.

      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: