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

Bug 369429

Summary: Drop detail on PDF when page break is Auto on detail row
Product: z_Archived Reporter: LE HELLIDU <vincent.lehellidu>
Component: BIRTAssignee: Birt-ReportEngine-inbox <Birt-ReportEngine-inbox>
Status: NEW --- QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: bluesoldier
Version: 3.7.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:
Attachments:
Description Flags
example that shows the bug
none
Bottom of page 1 there is a blank under new group "1" and the border does not close the table on the left none

Description LE HELLIDU CLA 2012-01-23 13:03:34 EST
Created attachment 209929 [details]
example that shows the bug

Hello,

There is a bug in the provided example.

The configuration is as follow :
- drop detail on group 1
- page break configured as auto (it was avoid by default)

To reproduce this case I put a grid with two lines, and for which one row has to be splitted on two pages.

# Remark
In my real case, when a size on the header row of the group is defined, I cannot generate the PDF at all.
But I could not reproduce a similar test case. When I use page break avoid on detail row I can generate the PDF.

If the problem describe in this bug report is solved, perhaps it will also solve the problem in my real case.
Comment 1 Xiaoying Gu CLA 2012-06-13 01:54:25 EDT
(In reply to comment #0)
> Created attachment 209929 [details]
> example that shows the bug
> 
> Hello,
> 
> There is a bug in the provided example.
> 
> The configuration is as follow :
> - drop detail on group 1
> - page break configured as auto (it was avoid by default)
> 
> To reproduce this case I put a grid with two lines, and for which one row has
> to be splitted on two pages.
> 
> # Remark
> In my real case, when a size on the header row of the group is defined, I
> cannot generate the PDF at all.
> But I could not reproduce a similar test case. When I use page break avoid on
> detail row I can generate the PDF.
> 
> If the problem describe in this bug report is solved, perhaps it will also
> solve the problem in my real case.

Hi,

I tried the attached report design in 3.7.2 and did not see the issue.

Could you please elaborate what's the issue here?

Furthermore, I added height size on the group header, and the report can be previewed in pdf.
Comment 2 LE HELLIDU CLA 2012-06-13 04:03:30 EDT
Created attachment 217254 [details]
Bottom of page 1 there is a blank under new group "1" and the border does not close the table on the left

The problem is still there in version 3.7.2. See the produced pdf attached named "3.7.2.dropDetail[1].pdf"

At the bottom of page 1 there is a blank under "new group 1" and the border does not close the table on the left.

About setting the height size problem, I was not able to reproduce it in a test case.
I had this problem only in production on a more complex report. I wanted to add this remark to try to help you but I am not able to produce a test case that show this other problem. When I set the height size on my test case, I can also print it in PDF.
Comment 3 Xiaoying Gu CLA 2012-06-13 04:29:33 EDT
(In reply to comment #2)
> Created attachment 217254 [details]
> Bottom of page 1 there is a blank under new group "1" and the border does not
> close the table on the left
> 
> The problem is still there in version 3.7.2. See the produced pdf attached
> named "3.7.2.dropDetail[1].pdf"
> 
> At the bottom of page 1 there is a blank under "new group 1" and the border
> does not close the table on the left.
> 
> About setting the height size problem, I was not able to reproduce it in a test
> case.
> I had this problem only in production on a more complex report. I wanted to add
> this remark to try to help you but I am not able to produce a test case that
> show this other problem. When I set the height size on my test case, I can also
> print it in PDF.

ok, I see this problem. And it only occurs when you use runandrender mode.
It works when you export as pdf from the web viewer.