Closed claspina closed 2 months ago
When saveToFile method is called with an invalid name or insufficient permissions
saveToFile
Current exception is:
Could not write entry "[Content_Types].xml" to zip
This error occurs because when trying to execute writeEntryToZip the zip wasn't created properly
writeEntryToZip
The correct exception has to be
Unable to create zip "pathname_with_incorrect_name_or_permission.xlsx". Error code "XX"
Where XX corresponds to the return values section of ZipArchive according to the official docs
When
saveToFile
method is called with an invalid name or insufficient permissionsCurrent exception is:
Could not write entry "[Content_Types].xml" to zip
The correct exception has to be
Unable to create zip "pathname_with_incorrect_name_or_permission.xlsx". Error code "XX"