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

[16.0][FIX] fs_file: Invalidate cache on write #290

Merged
merged 1 commit into from Nov 30, 2023

Conversation

lmignon
Copy link
Sponsor Contributor

@lmignon lmignon commented Oct 22, 2023

When a new value is assigned to a stored FSFile field, the cache must be invalidated and not contain the given value. This is required since when you access a stored FSFile field, teh FSFileValue returned must be linked to the attachment used to store the file in the storage

When a new value is assigned to a stored FSFile field, the cache must be invalidated and not contain the given value. This is required since when you access a stored FSFile field, teh FSFileValue returned must be linked to the attachment used to store the file in the storage
@lmignon lmignon marked this pull request as ready for review October 23, 2023 06:17
@lmignon
Copy link
Sponsor Contributor Author

lmignon commented Nov 30, 2023

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot merged commit 7fb424a into OCA:16.0 Nov 30, 2023
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@lmignon lmignon deleted the fs-file-fix-write branch November 30, 2023 10:13
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.

None yet

2 participants