Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1749

[PATCH] infinite loop in footnotes (see also #47424)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 2.5
    • None
    • layout/unqualified
    • None
    • Operating System: Windows XP
      Platform: PC
    • 48397

    Description

      This patch solves the problem of an infinite loop in footnotes as reported in FOP-1678.

      The infinite loop occurred in org.apache.fop.layoutmgr.PageBreakingAlgorithm.getFootnoteSplit(int, int, int, int, boolean).

      This patch does not solve the problem of another infinite loop in footnotes as reported in bugs 48063 and 48162. This infinite loop occurs in org.apache.fop.layoutmgr.PageBreakingAlgorithm.createFootnotePages(KnuthPageNode). The test attached to 48063 is converted to a testcase and added to the list of disabled testcases.

      Attachments

        1. fop-1749-top-offset.diff
          3 kB
          Alexey Neyman
        2. fop-1749-2106-combined.diff
          21 kB
          Alexey Neyman
        3. fop-1749.diff
          2 kB
          Alexey Neyman
        4. c.fo
          0.7 kB
          Alexey Neyman
        5. bug47424.patch
          206 kB
          Heidi Vanparys

        Activity

          People

            Unassigned Unassigned
            heidi.vanparys@gmail.com Heidi Vanparys
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: