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

Unwanted deletion fixes #3619

Merged
merged 3 commits into from
May 27, 2024
Merged

Unwanted deletion fixes #3619

merged 3 commits into from
May 27, 2024

Conversation

inalto
Copy link
Contributor

@inalto inalto commented May 26, 2024

I tried to regenerate 350K+ images conversions with responsive images, i spotted some cases that lead to wrong deletions on some generated images that have a part of the name included in other filenames, so the Str::contains should be more specific and i fixed the issue borrowing the addPropertiesToFileName pattern to check "{$fileName}___{$conversionName}";
Now all the unwanted missing conversion that appeared randomly are gone away.

@freekmurze freekmurze merged commit 99760ad into spatie:main May 27, 2024
9 checks passed
@freekmurze
Copy link
Member

Thanks!

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