-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Knowage 8.1.26 CE] Problem exporting BIRT 4.17 report to Excel (page breaks not working) #929
Comments
This issue is stale because it is related to an old version or it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Hello, Thank you |
Hello, Thank you |
Hello, I made the change in a fork of Knowage, and it worked correctly. <property name="pageBreakAfter">always</property> Thank you |
This issue is stale because it is related to an old version or it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Issue Title:
Problem exporting BIRT 4.17 report to Excel (page breaks not working)
Description:
I am using Knowage version 8.1.26 CE in a Docker environment on OKD and encountered an issue when exporting a BIRT 4.17 report to Excel (xlsx) format. Although the page breaks are properly configured in the report, when exporting to Excel, all tables appear on a single sheet, instead of being split across multiple sheets according to the page breaks.
Additionally, I investigated the BirtReportServlet.java class (path: Knowage-Server-8.1.26\knowagebirtreportengine\src\main\java\it\eng\spagobi\engines\birt) and discovered the cause of the erratic behavior. In the code:
In both cases (xls and xlsx), the option ExcelEmitter.SingleSheetWithPageBreaks is set to true, which explains the behavior of exporting all tables into a single sheet.
My question is: why aren't the page break settings from the BIRT report being used instead?
Steps to reproduce the issue:
1 - Configure the page breaks in BIRT report.
2 - Import a report created in BIRT 4.17 into Knowage.
3 - Export the report to Excel (xlsx) format.
4 -Check that all tables appear on a single sheet.
Expected behavior:
I expected that when exporting the report to Excel, the tables would be separated into different sheets according to the page breaks configured in BIRT.
Environment:
Knowage version: 8.1.26 CE
Environment: Docker on OKD
Report: BIRT 4.17
Additional information:
If more details are needed, I am available to provide examples or further information about the environment.
Thank you for your attention to this issue!
The text was updated successfully, but these errors were encountered: