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

The page tree is not always fully loaded when exported to PDF

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 14.2
    • 14.2-rc-1
    • Export - PDF, Tree
    • None
    • Unknown
    • N/A
    • N/A

    Description

      The page tree (jsTree) is using a Web Worker to parse the JSON input and create the tree nodes. This is running in a background thread, asynchronously from the main execution thread of the web page. There's no easy or generic way that we could intercept these Web Workers and detect when their work is done (they send messages but these messages are custom, specific to each Web Worker). So the only option for now is to modify the page tree to manually delay the page ready until the tree is fully loaded.

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: