Zip exporting appends each new export to the previous ones
-
There is a bug in the plugin with PHP 5.6.30 when the option is enabled to export the posts individually and get a zip file. Each previous export is appended to any new ones! So if I were to export five posts and then export another five posts, the second export would include all ten! The third export of five posts would include the past ten as well as the new five. This completely breaks the functionality of this plugin.
The problem is line 252 of aspose_doc_exporter_admin.php. It uses “ZipArchive::CREATE”, instead of “ZipArchive::OVERWRITE”. Changing this to “ZipArchive::OVERWRITE” solves the issue.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Zip exporting appends each new export to the previous ones’ is closed to new replies.