OCA / storage

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

[FIX] fs_image: remove rawCacheKey invalidation #305

Closed sbejaoui closed 10 months ago

sbejaoui commented 10 months ago

Fix view crash when uploading an image

The rawCacheKey is appropriately managed by the base class and reflects the record's last update datetime (write_date). Since it lacks a setter, attempting to invalidate its value results in a view crash. Nevertheless, the value will automatically be updated upon saving the record.

OCA-git-bot commented 10 months ago

Hi @lmignon, some modules you are maintaining are being modified, check this out!

lmignon commented 10 months ago

@sbejaoui can you add a fragment to include into the addon history... as it's done here https://github.com/OCA/storage/pull/304/files#diff-0c0256bf7a5f02140833fcc325442a42553aac6aaf8b013258f347d6ce2d7e8c

sbejaoui commented 10 months ago

@sbejaoui can you add a fragment to include into the addon history... as it's done here https://github.com/OCA/storage/pull/304/files#diff-0c0256bf7a5f02140833fcc325442a42553aac6aaf8b013258f347d6ce2d7e8c

done

lmignon commented 10 months ago

/ocabot merge patch

OCA-git-bot commented 10 months ago

Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 16.0-ocabot-merge-pr-305-by-lmignon-bump-patch, awaiting test results.

OCA-git-bot commented 10 months ago

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