We have an existing installation with many PNG-images, which are linked in different objects as FileReferences. Since we have many translations, the easy way to replace an image in all translated objects is to use 'replace' in Filelist-options.
When replacing an png-file, it gets converted to jpg as configured, and the old file is deleted, but the existing (linked) record in sys_file doesn't get updated, instead a new record is created. Since the old file is deleted, the images are now missing in the frontend.
Steps to reproduce:
upload a png-image without 'image type conversion mapping' configured for png
the file is in filesystem-folder shared/..., a db-entry in sys_file is created
activate 'image type conversion mapping' for png-files ('png => jpg')
replace the image with the same png-file
file gets resized and renamed to jpg
in sys_file there are 2 records, in the filesystem-folder shared there's only the jpg-file
Version T3: 11.5.36
Version causal/image_autoresize 2.4.1
We have an existing installation with many PNG-images, which are linked in different objects as FileReferences. Since we have many translations, the easy way to replace an image in all translated objects is to use 'replace' in Filelist-options.
When replacing an png-file, it gets converted to jpg as configured, and the old file is deleted, but the existing (linked) record in sys_file doesn't get updated, instead a new record is created. Since the old file is deleted, the images are now missing in the frontend.
Steps to reproduce:
Version T3: 11.5.36 Version causal/image_autoresize 2.4.1