Extract the ObjectStorage::Concern#migrate! method to a service.
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
Object storage migration for files is currently implemented in the Uploader as a concern. It should be refactored to be uploader agnostic to correctly handle move_to_store and move_to_cache.
As @ayufan suggested, we could also remove the CarrierWave component from this and directly work with the file APIs.
Possible fixes
Extract to an external service.
(If you can, link to the line of code that might be responsible for the problem)
Edited by 🤖 GitLab Bot 🤖