It looks like the tests that were failing related to some invalid files (deliberate test cases for these invalid files). The POI code catches the ZipException and checks the Exception message - and the message has changed.
I have updated the POI code to check for the new message as well as the old message. I think this should be enough. Apologies for the noise. On 2024/02/20 15:59:12 PJ Fanning wrote: > Hi everyone, > > I upgraded Apache POI to use the latest commons-compress 1.26.0 release. POI > processes Microsoft format files like xlsx and docs files - these formats are > basically zip files with XML and other files contained within. > > The issue seems to be that commons-compress 1.26.0 requires signatures. > > We get exceptions like this: > > java.util.zip.ZipException: Cannot find zip signature within the file > > Most of the test files that have were created by Excel or Word or Powerpoint. > > Is there a way to disable this zip signature check? Any advice would be > appreciated. > > Regards, > PJ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
