Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2776

Exception thrown for subreports in non-splitting bands containing collections that might need to be split.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.6
    • 2.3.1
    • Plugin - JasperReports
    • None

    Description

      "net.sf.jasperreports.engine.JRException: The subreport is placed on a non-splitting band, but it does not have a rewindable data source."

      The ValueStackDataSource implements JRDataSource, not JRRewindableDatasource, If a "non-splittable" subreport iterates over a collection that might go over the page boundary, an exception is thrown because it cannot rewind the collection.

      Attachments

        1. ValueStackDataSource.patch
          2 kB
          Christian Hacker

        Activity

          People

            lukaszlenart Lukasz Lenart
            forumben Ben Morgan
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: