In our case the top level report template (1_report) implements a title page (landscape_title), a header (landscape_pageheader), a detail block (2_assemblyline) and a footer (landscape_pagefooter). The data will be delivered by several data sources.
The subreport (2_assemblyline) which loads the data is displayed in the detail block is divided into two subreports.
The first subreport (3_description) displays grouping information and is displayed only once, the second subreport (4_0_data) displays corresponding records.
In case the number of various records is greater than two, a page break is inserted and the data is displayed on following pages, but header and footer are suppressed. The page numbering overall is correct.
In case further records are displayed and the number of various records is less than three, the pages are rendered like expected (header and footer are visible).
The attachment contains all report templates and two pictures which visualize the described issue.