Image style generation no longer works for non-local drivers in

Created on 18 March 2025, 16 days ago

Problem/Motivation

We have a custom flysystem module for Azure Blob Storage. We were previously using it with flysystem 2.2.0-alpha3 and it worked fine. After updating to 2.2.0-beta2 image style generation is failing.

The reason is that there is no longer an image style route for custom schemes. Previously there was, but it appears to have been removed/moved into a loop that skips non-local drivers. This seems to have happened in Support delivering local image styles until remote upload is complete Support delivering local image styles until remote upload is complete Needs work , but I'm not sure whether it was intentional.

Steps to reproduce

I'm not certain exactly what steps would be required to reproduce this outside the context of our custom module. It is possible other contrib flysystem modules are affected, but I have not tested any.

Proposed resolution

Add logic to generate routes for custom schemes.

This needs to be a little different from what existed before due to the required_derivative_scheme change. I will open an MR shortly.

🐛 Bug report
Status

Active

Version

2.2

Component

Code

Created by

🇨🇦Canada dylan donkersgoed London, Ontario

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024