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

Live Data fails to render in PDF export on 17.10.x

    XMLWordPrintable

Details

    • High
    • Unknown
    • N/A
    • N/A

    Description

      Live Data does not render in PDF export on XWiki 17.10.x when using the Browser PDF Generator.

      Reproduced on 17.10.2 and 17.10.12. Normal page view and ?xpage=print work correctly.

      The generated html-print page is missing the Live Data import map provided through org.xwiki.platform.html.head, causing:

      Failed to resolve module specifier "vue".

      XWIKI-23456 appears to address the underlying issue, but the change is not present in stable-17.10.x.

      Could the relevant change be backported to the 17.10.x LTS branch?

      Workaround

      Adding the following to XWiki.PDFExport.Sheet before $!pdfExportJobStatus.requiredSkinExtensions fixes the issue:
       
      #template('liveData/importmap.vm')

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              CycleSEC Sebastian Klipper
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: