-
Notifications
You must be signed in to change notification settings - Fork 294
Open
Labels
bugSomething isn't workingSomething isn't working
Description
EPPlus usage
Personal use
Environment
Windows
Epplus version
8.1.0
Spreadsheet application
No response
Description
Hi,
This is probably not even a bug, but while diagnosing some unrelated issue I noticed that the code in ZipPackage.cs
checks !hasContentTypeXml
twice in a row.
See:
EPPlus/src/EPPlus/Packaging/ZipPackage.cs
Lines 130 to 137 in 1d54345
if (!hasContentTypeXml) | |
{ | |
throw (new InvalidDataException("The file is not a valid Package file. If the file is encrypted, please supply the password in the constructor.")); | |
} | |
if (!hasContentTypeXml) | |
{ | |
throw (new InvalidDataException("The file is not a valid Package file. If the file is encrypted, please supply the password in the constructor.")); | |
} |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Pending Release