Grid export and poi library version

Hello,

Is it possible to upgrade the apache poi library to a version greater than 5 ?
The 4.x.x version has a lot of vulnerabilities.
I tried to use a version greater than 5.0.0 however some things changed from this version, for example i am getting an error when trying to export the results from the grid:
Caused by: java.lang.NoSuchMethodError: ‘short org.apache.poi.ss.usermodel.Font.getIndex()’
at io.jmix.gridexportui.exporter.excel.ExcelAutoColumnSizer.getFontMetrics(ExcelAutoColumnSizer.java:51) ~[jmix-gridexport-ui-1.5.2.jar:?]

Thank you for considering this.

Kind regards,
Radu Mantale

Hi,

We’ve already upgraded POI version for Jmix 2.0. As for Jmix 1.x, I’ve created an issue for upgrading POI version there as well, but for now I’m not sure whether we will do it in Jmix 1.6.

1 Like