Details
Description
Steps to reproduce:
- Comment out the following lines https://github.com/ezsystems/ezpublish-kernel/blob/7.5/eZ/Publish/Core/IO/FilePathNormalizer/Flysystem.php#L29-L36.
- Create two new Images with the names: class ' .jpg, test%20.jpg.
- Edit the first image and upload a new image instead of an old one.
- Search for the class '.jpg file in web/var/site/storage/images directory and change its name to class 'test.jpg.
- Run the https://doc.ibexa.co/en/3.3/guide/images/#normalize-image-file-names command.
Result:
Command finishes without changing the rest of the files because the single file could not be found. Ideally, this shouldn't happen but this should be handled nevertheless.
Expected result:
Command skips the missing file and continues.
Designs
Attachments
Issue Links
- relates to
-
IBX-2041 ezplatform:images:normalize-path command doesn't move files on secondary repository
- Closed
-
IBX-2291 Image files should be counted by attribute_id and filepath when normalizing
- Closed
- testing discovered
-
IBX-2264 Folder displays http not found exception when image path cannot be loaded
- Closed