OCA / storage

GNU Affero General Public License v3.0
70 stars 159 forks source link

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

Closed lmignon closed 10 months ago

lmignon commented 11 months ago

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 commented 10 months ago

/ocabot merge patch

OCA-git-bot commented 10 months ago

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 commented 10 months ago

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