Closed smehrbrodt closed 8 years ago
When adding a file in a folder to package.properties, the zip file becomes invalid.
LibreOffice reports the following error: (com.sun.star.lang.WrappedTargetRuntimeException) { { { Message = "Bad Zip File, ZipException: Zip entry has an invalid name.", Context = (com.sun.star.uno.XInterface) @339b258 (ImplementationName = "com.sun.star.packages.comp.ZipPackage") } }, TargetException = (any) { (com.sun.star.uno.Exception) { Message = "Bad Zip File, ZipException: Zip entry has an invalid name.", Context = (com.sun.star.uno.XInterface) @339b258 (ImplementationName = "com.sun.star.packages.comp.ZipPackage") } } }
(com.sun.star.lang.WrappedTargetRuntimeException) { { { Message = "Bad Zip File, ZipException: Zip entry has an invalid name.", Context = (com.sun.star.uno.XInterface) @339b258 (ImplementationName = "com.sun.star.packages.comp.ZipPackage") } }, TargetException = (any) { (com.sun.star.uno.Exception) { Message = "Bad Zip File, ZipException: Zip entry has an invalid name.", Context = (com.sun.star.uno.XInterface) @339b258 (ImplementationName = "com.sun.star.packages.comp.ZipPackage") } } }
The problem is that a backslash instead of a forward slash is used, while all other entries in the generated zip file use a forward slash.
When adding a file in a folder to package.properties, the zip file becomes invalid.
LibreOffice reports the following error:
(com.sun.star.lang.WrappedTargetRuntimeException) { { { Message = "Bad Zip File, ZipException: Zip entry has an invalid name.", Context = (com.sun.star.uno.XInterface) @339b258 (ImplementationName = "com.sun.star.packages.comp.ZipPackage") } }, TargetException = (any) { (com.sun.star.uno.Exception) { Message = "Bad Zip File, ZipException: Zip entry has an invalid name.", Context = (com.sun.star.uno.XInterface) @339b258 (ImplementationName = "com.sun.star.packages.comp.ZipPackage") } } }
The problem is that a backslash instead of a forward slash is used, while all other entries in the generated zip file use a forward slash.