Fix for avatar cache not clearing on update
What does this MR do and why?
Discovered as part of !121130 (merged) that the avatar cache was not being cleared correctly due to oddities in how callbacks are handled with carrierwave records. This moves the implementation to the uploader and adds specs to ensure it is working.
Changelog: fixed
Closes #442046 (closed)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Robert May