- Status changed to Needs review
almost 2 years ago 3:34pm 25 January 2023 - πΊπΈUnited States briantschu West Orange, NJ
It looks like a change to the underlying zip library causes this. Adding a flag ZipArchive::OVERWRITE when constructing the ZipArchive seems to resolve the warning.
In order to pass the flag, Core needed to update the ZipArchive constructor. Luckily, that's available in this issue: π Unable to open Zip archive using ArchiverZip Fixed .
Applying the patch from #51 in the Core issue along with the attached patch resolved this for me.
- πΊπΈUnited States briantschu West Orange, NJ
It turns out we only need to set the OVERWRITE flag when we're constructing the ZipArchive during the export process. Setting it every time we constructed the ZipArchive caused the import to fail; the contents of the ZipArchive were emptied.
This patch along with the core patch I linked to in #3 should allow imports and exports to work successfully with no warning messages.
- Assigned to nginex
-
briantschu β
authored 6a1b73f8 on 1.3.x
Issue #3324392 by briantschu: PHP 8.1.x. compaitibility
-
briantschu β
authored 6a1b73f8 on 1.3.x
- πΊπ¦Ukraine nginex
Thanks for the patch, I did also added the flag option for bulk export.
- Issue was unassigned.
- Status changed to Fixed
almost 2 years ago 10:52am 28 January 2023 - Status changed to Fixed
almost 2 years ago 8:06pm 29 January 2023