ZipArchive will use the basename as the filename, which is incorrect as per the API documentation for FileInfo. This will in some cases cause recursive loading of materials to fail, since find will return the basename as the filename, which will lead to the open call failing in case more than one file with the same basename exist in the archive.
The attached patch demonstrates a fix to the issue. The unit tests were run with the attached patch applied and passed successfully.
Log in to post a comment.