| Summary: | PageBreak Interval Issue | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | pavan kumar surey <sspavan> | ||||||
| Component: | BIRT | Assignee: | Gang Liu <hustlg> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Xiaoying Gu <bluesoldier> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | bluesoldier | ||||||
| Version: | 3.7.0 | ||||||||
| Target Milestone: | 4.2.2 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 210650 [details]
test data
fixed |
Created attachment 210648 [details] Report Design Suppose, you have 'n' groups of data based on some field say 'city'. i:e; If there are 3 Cities, then there are 3 Groups of data. And you set the page interval for your table to be 'p'. If a group 'G' has "p*i+1" rows where i takes from 0 to any number, then the number of rows displayed in the next group are 'p-1' instead of 'p'. Sample Scenario: --------------------------- I grouped my data based on the field 'city'. City 1 has 11 qualifying records. City 2 has 22 qualifying records. City 3 has 30 qualifying records. I set the Page Interval to 10. In ideal case, we should get 8 pages in our report Page 1: will have 10 records from Group 1 Page 2: will have 1 record from Group 1 Page 3: will have 10 records from Group 2 Page 4: will have 10 records from Group 2 Page 5: will have 2 records from Group 2 Page 6: will have 10 records from Group 3 Page 7: will have 10 records from Group 3 Page 8: will have 10 records from Group 3 But since we have a group(Group 1) which has 'p*i+1' = 10*1+1 = 11 rows, the report is showing only 9 pages in Page 3. We are getting the pages like below: Page 1: will have 10 records from Group 1 Page 2: will have 1 record from Group 1 Page 3: will have 9 records from Group 2 Page 4: will have 10 records from Group 2 Page 5: will have 3 records from Group 2 Page 6: will have 10 records from Group 3 Page 7: will have 10 records from Group 3 Page 8: will have 10 records from Group 3. A sample rptdesign and xml data can be found from the link