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

Include macro doesn't support translated documents

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0 M1
    • Fix Version/s: 3.1 M2
    • Component/s: Rendering
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

                Dates

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