Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347251 - pageNumber not set accordingly
Summary: pageNumber not set accordingly
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.7.0   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-26 01:55 EDT by Megha Nidhi Dahal CLA
Modified: 2011-05-29 22:17 EDT (History)
2 users (show)

See Also:


Attachments
Sample designer depicting the problem (37.24 KB, application/octet-stream)
2011-05-26 01:55 EDT, Megha Nidhi Dahal CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Megha Nidhi Dahal CLA 2011-05-26 01:55:20 EDT
Created attachment 196628 [details]
Sample designer depicting the problem

Variable pageNumber is correctly set only if BIRT explicitly knows that there is a page break to happen. If you break a page intentionally, either by limiting the max rows in a page(page break interval) or by using explicit break requests, pageNumber is set correctly.
But, if the data is spanning more than one page and an implicit page break happens, the pageNumber is still set to 1.

This behavior is observed when exporting the data to pdf.

Attached is a simple designer.
Comment 1 Wei Yan CLA 2011-05-26 14:38:33 EDT
Can't reproduce your issue in the latest BIRT 3.7, seems has been resolved.
Comment 2 Megha Nidhi Dahal CLA 2011-05-27 04:38:29 EDT
Is the release BIRT 3.7 available for download. The latest one that is put for download is 2.6.2. Is this release expected in the near future?
Comment 3 Xiaoying Gu CLA 2011-05-29 22:17:18 EDT
(In reply to comment #2)
> Is the release BIRT 3.7 available for download. The latest one that is put for
> download is 2.6.2. Is this release expected in the near future?

3.7.0 release will be released at the end of June.

You can try out the latest RC2 build: http://download.eclipse.org/birt/downloads/build.php?build=M-R1-3.7RC2-201105241634