Bugfix
(User-visible)
If a table is exported to Excel and a column contains more than 32767 characters, an error occurs:
2025-01-14T08:31:17,952 ERROR [pool-2-thread-1]: com.top_logic.layout.messagebox.ProgressDialog - Background task failed. java.lang.IllegalArgumentException: The maximum length of cell contents (text) is 32767 characters at org.apache.poi.ss.usermodel.CellBase.checkLength(CellBase.java:292) at org.apache.poi.ss.usermodel.CellBase.setCellValue(CellBase.java:306) at com.top_logic.base.office.excel.handler.RichTextStringPOIType.setValue(RichTextStringPOIType.java:38) at com.top_logic.base.office.excel.handler.StringPOIType.setValue(StringPOIType.java:28) at com.top_logic.base.office.excel.POIExcelValueSetter.handleSetCellValue(POIExcelValueSetter.java:217) at com.top_logic.base.office.excel.POIExcelValueSetter.setValue(POIExcelValueSetter.java:117) at com.top_logic.base.office.excel.streaming.ExcelWriter.internalWrite(ExcelWriter.java:131) at com.top_logic.base.office.excel.streaming.AbstractCellStreamWriter.write(AbstractCellStreamWriter.java:46) at com.top_logic.layout.table.export.StreamingExcelExportHandler$Exporter.exportRows(StreamingExcelExportHandler.java:295) at com.top_logic.layout.table.export.StreamingExcelExportHandler$Exporter.createData(StreamingExcelExportHandler.java:214) at com.top_logic.layout.table.export.StreamingExcelExportHandler.createDownloadData(StreamingExcelExportHandler.java:142) at com.top_logic.layout.table.export.AbstractTableExportHandler$1.run(AbstractTableExportHandler.java:115) at com.top_logic.layout.messagebox.ProgressDialog.runTaskInContext(ProgressDialog.java:294) ...
Solution
No more than 32767 characters are exported. Longer strings are truncated.