Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404's when using ImageProcessor / other file systems #205

Merged
merged 2 commits into from
Nov 4, 2021
Merged

404's when using ImageProcessor / other file systems #205

merged 2 commits into from
Nov 4, 2021

Conversation

callumbwhyte
Copy link
Member

As reported in #202, the recent v3 version doesn't play nicely when using ImageProcessor blob cache (or actually any file system that isn't the media file system).

It seems etag support was added in #179, which called some additional methods on the file system within the virtual file. If the blob does not exist GetProperties throws a "BlobNotFound" error.

Despite a file system being passed in to the constructor of the virtual file class, for a long time the code has been fetching the media file system out of Umbraco's service locator instead. As such, if the virtual file being requested doesn't exist in the media file system you get an error.

@Jeavon Jeavon merged commit 5969755 into umbraco-community:develop-version-3 Nov 4, 2021
@Jeavon
Copy link
Collaborator

Jeavon commented Nov 4, 2021

Thanks, @callumbwhyte 🥳 If anyone wants to test the NuGet pre-release - https://www.myget.org/feed/umbraco-packages/package/nuget/UmbracoFileSystemProviders.Azure.Media/3.0.2-alpha-000517

@callumbwhyte callumbwhyte deleted the bug/202 branch November 4, 2021 16:16
@Jeavon
Copy link
Collaborator

Jeavon commented Nov 10, 2021

Released in v3.0.2 Thanks @callumbwhyte #h5yr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants