Skip to content

Comments

Fix: check interface instead of class#2514

Open
jorenMartens wants to merge 1 commit intosonata-project:4.xfrom
jorenMartens:bugfix/clean-media-command-file-provider
Open

Fix: check interface instead of class#2514
jorenMartens wants to merge 1 commit intosonata-project:4.xfrom
jorenMartens:bugfix/clean-media-command-file-provider

Conversation

@jorenMartens
Copy link

@jorenMartens jorenMartens commented Jan 29, 2026

Subject

Check interface instead of class

I am targeting this branch, because this is a backwards compatible fix.

Changelog

### Fixed
- Check FileProviderInterface instead of FileProvider when adding providers in CleanMediaCommand

@esserj
Copy link
Contributor

esserj commented Jan 29, 2026

Great!, this wil fix the issue where decorating the file provider would result in all images being deleted

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