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

[14.0][FIX] storage_thumbnail: always use slugified url_key #383

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

sebalix
Copy link
Contributor

@sebalix sebalix commented Jul 9, 2024

Both for creating and searching thumbnails.

This avoid an infinite creation of thumbnails on images as soon as an url_key is provided.

This is a regression introduced by commit 1976597

Ref. 4622

@sebalix sebalix force-pushed the 14-fix-storage_thumbnail branch 2 times, most recently from 8425a21 to 494efd7 Compare July 9, 2024 14:32
@sebalix sebalix marked this pull request as ready for review July 9, 2024 14:37
Copy link
Contributor

@simahawk simahawk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG.
@sebastienbeau @lmignon warning for your existing instance.
We've got tons of duplicated thumbs after pulling in #268 😉

storage_thumbnail/tests/test_thumbnail.py Outdated Show resolved Hide resolved
storage_thumbnail/tests/test_thumbnail.py Outdated Show resolved Hide resolved
Both for creating and searching thumbnails.

This avoid an infinite creation of thumbnails on images as soon as an
`url_key` is provided.

This is a regression introduced by commit 1976597
Copy link
Contributor

@lmignon lmignon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the side effect introduced when merging #268

@lmignon
Copy link
Contributor

lmignon commented Jul 10, 2024

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 14.0-ocabot-merge-pr-383-by-lmignon-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 96e9c32 into OCA:14.0 Jul 10, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 1692a17. Thanks a lot for contributing to OCA. ❤️

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

Successfully merging this pull request may close these issues.

4 participants