Replies: 1 comment
-
So the problem here is that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We where using responsive images for a while but implemented a different way lately.
In the models where we were using the responsive images we removed the
withResponsiveImages()
So, from
to
After that I run
media-library:clean
all the files are still there and the svg's are still present in the databaseRunning
media-library:clean --dry-run
only shows me some orphans and a couple of unused conversions, but not the responsive ones.I tried debugging it directly in the
CleanCommand
class but can't really figure out what it's actually doing atdeleteResponsiveImagesForDeprecatedConversions()
I added some comments what I found in this function
I tried adding my case to the
CleanConversionsTest
in the hopes of being able to reproduce it in a test, however, it's a bit daunting to me and could not figure it out. Happy to try some things on my local machine to see if I can create a reproducible test, or, even better, hear what I'm doing wrong.Beta Was this translation helpful? Give feedback.
All reactions