Issue Bug Closed

#69833Processed files don't support not-local storages

Nicole Hummel 09/15/15, 16:03 updated 10/19/17, 21:47

Description

Use case:

- a ftp storage (https://github.com/adgrafik/fal_ftp) marked as not writable with processing folder 1:/_processed_/FTP
- Text with image content record with an image from ftp storage

Problem:

- image isn’t shown (neither in frontend nor backend)

Analysis:

- for frontend processing the driver creates a tempfile as the file on the other server isn’t available for processing
- this is as defined in the function description of the DriverInterface
- the processing task tries to process (crop/mask) the image and confess there isn’t any change needed
- the task returns NULL and the original file is used
- the processed file is saved with wrong information and the temp file is lost

Reviews 3