Closed WHITE-developer closed 9 months ago
Thanks! I'm aware that there are several changes regarding volumes and file systems that impact the path handling i Imager, I will dive into this as soon as there's a stable beta out.
Although the fix looks correct, I'm having a hard time producing any error with the way it was (ie, passing file system). Can you describe how you set things up that resulted in an error? I just want to be able to confirm what this fixes, and root out any other issues related to it. Thanks!
Hi, Sure this is my filesystem Where the subfolder is set to '/assets'
And then I have a couple of volumes, each with their own subpath
I'm using the standard Craft transformer
I merged this manually into 5.0.0-beta.1 which is out now. Thanks for contributing!
Looks like they are refactoring the method in next release so that the volume isn't required anymore, https://github.com/craftcms/cms/pull/14353
As in Craft 5 the subpath is moved to the volumes, we should pass the Volume instead of the Filesystem to the
generateUrl
function