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

Wiki pages that produce <br> tags can't always be exported to PDF

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • None
    • 14.4.2
    • Export - PDF
    • None
    • Unknown

    Description

      This is very easy to reproduce. Just create a wiki page with this content:

      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      29
      30
      31
      32
      33
      34
      35
      36
      37
      38
      39
      40
      41
      42
      43
      44
      45
      46
      47
      48
      49
      50
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      29
      30
      31
      32
      33
      34
      35
      36
      37
      38
      39
      40
      41
      42
      43
      44
      45
      46
      47
      48
      49
      50
      

      and then try to export it as PDF. Before XWiki 14.9 the PDF export simply hangs forever. After XWiki 14.9 you get a timeout after 60s (by default). The problem doesn't reproduce if the lines of text (text DOM nodes) are unique (don't repeat).

      This is a Paged.js issue, reported:

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: