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

[PATCH] Enabling area tree caching from FOUserAgent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.5
    • None
    • unqualified
    • None
    • Operating System: All
      Platform: All
    • 46828

    Description

      The attached patch fix some bugs in area tree caching and allow to enable caching from FOUserAgent. We use it in production without problems and would be nice to see it included in the next stable release.
      I know that few users would benefit from this patch, but at the same time it seems harmless to me.

      Patch details:

      • CachedRenderPagesModel.java: page.toString() was producing a bad file name, in particular all objects were written in the same .ser file and Fop wasn't able to read back those objects when there was too much pages
      • InlineArea.java: need to be serializable
      • AbstractLayoutManager.java, TableCellLayoutManager.java: just free references to the objects serialized

      Attachments

        1. Bugzilla46828.patch
          13 kB
          Andreas L. Delmelle
        2. freeAreaTree4.diff
          7 kB
          Laera Dario

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            laerad@ima.it Laera Dario
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: