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

Include macro doesn't support translated documents

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.1 M2
    • 3.0 M1
    • Rendering
    • None
    • Unknown

    Description

      This is a regression. This issue was first fixed in XWIKI-2892. The regression was introduced in XWIKI-5807 during a refactoring.

      Basically the call to DAB.getDocumentContent() was replaced by a call to DAB.getDocument().getXDOM() because getDocumentContent is a deprecated API. The problem is that DAB.getDocumentContent supports translated documents thanks to XWIKI-2934 but DAB.getDocument doesn't!

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: