Skip to content
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

Excel, error on file opening when large column-width used at tables-/grid-definition #1686

Closed
speckyspooky opened this issue May 15, 2024 · 1 comment
Assignees
Labels
BugFix Change to correct issues
Milestone

Comments

@speckyspooky
Copy link
Contributor

If a report contains a table or grid with a huge column-width and the user create an excel file then an error appears at the moment of file opening. A message will be displayed that there is an issue and excel will start a fxing of it.
But at the end it could be that data will be lost.

Excel message - part 01
grafik

Excel message - part 02
grafik

Reason:
The problem is caused on the calculation of the column with of excel.
At a specific moment the number type "short" is used and it gives a number overflow (from positiv to negativ, number circle).

I will populate a PR for that.

@speckyspooky speckyspooky added the BugFix Change to correct issues label May 15, 2024
@speckyspooky speckyspooky added this to the 4.16 milestone May 15, 2024
@speckyspooky speckyspooky self-assigned this May 15, 2024
speckyspooky added a commit to speckyspooky/birt that referenced this issue May 15, 2024
speckyspooky added a commit that referenced this issue May 17, 2024
* Fixing of excel column width calculation (#1686)
* Fix data type issue of image cell processing
@speckyspooky
Copy link
Contributor Author

The fix is merged to the BIRT-master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BugFix Change to correct issues
Projects
None yet
Development

No branches or pull requests

1 participant