react-file-viewer icon indicating copy to clipboard operation
react-file-viewer copied to clipboard

Corrupted xlsx file throwing error : "Error Corrupted zip : can't find end of central directory"

Open vaishnavi-tricon opened this issue 3 years ago • 4 comments

image

We are using this version - "react-file-viewer": "^1.2.1"

Steps to reproduce this issue -

Use any corrupted XLSX file, try to preview

Getting this error on the screen -

Error Corrupted zip : can't find end of central directory

It's working for unsupported formats, but not for corrupted files, our application is deployed to production, please help with this

vaishnavi-tricon avatar Jul 05 '21 06:07 vaishnavi-tricon

Facing a similar issue in our app. Can we handle this error and show the error message?

SIMRAN88 avatar Jul 05 '21 12:07 SIMRAN88

Have you solved the problem?

font-ds avatar Oct 30 '21 09:10 font-ds

Nopes, have not solved this problem , but can raise a PR for the error handling

SIMRAN88 avatar Mar 14 '22 07:03 SIMRAN88

Any update on this ?

shaheer-glc avatar Apr 09 '23 04:04 shaheer-glc