Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330996

Summary: PageBreaks don't work correctly if there is a column to the right
Product: z_Archived Reporter: pp
Component: BIRTAssignee: Gang Liu <hustlg>
Status: VERIFIED FIXED QA Contact: Xiaodan Wang <xwang>
Severity: normal    
Priority: P3 CC: bluesoldier, hustlg, pp
Version: 2.6.0   
Target Milestone: 2.6.2   
Hardware: PC   
OS: Windows 7   
Whiteboard: Obsolete
Attachments:
Description Flags
Example report none

Description pp CLA 2010-11-24 03:39:54 EST
Build Identifier: 

I've got a grid in my report with two column.
In the left column there is a table.
I've set the pageBreakInside property of the table to avoid, so if the table doesn't fit on the rest of the page, there should be a pagebreak before it.
However, Birt does no pagebreak before the table.
If I remove the right column everything works as expected.

This behaviour is reproducible with other items.
if you create another grid and put it into the left column, the pageBreakInside property doesn't work either.
Also a pageBreakAfter=avoid (for example) doesn't work for the rows of this new grid.

I'll attach a sample report.

Reproducible: Always

Steps to Reproduce:
1. Create a grid with 2 column
2. Place a table with a view rows in the left column
3. Add a text-item above the table, large enough to put it to the bottom of the page
Comment 1 pp CLA 2010-11-24 03:40:35 EST
Created attachment 183734 [details]
Example report
Comment 2 Xiaoying Gu CLA 2010-11-24 21:37:13 EST
*** Bug 330784 has been marked as a duplicate of this bug. ***
Comment 3 Gang Liu CLA 2010-12-23 03:07:26 EST
fixed.
Comment 4 Xiaodan Wang CLA 2011-01-11 02:04:51 EST
Set as Verified.