Hi Jmix team,
I’m integrating MinIO storage into my Jmix application (v2.x), and I have a question regarding file uploads.
When a user uploads a file, then re-uploads (replaces) it multiple times before saving the entity, Jmix uploads every temporary file to MinIO, but only the last FileRef is actually stored in the entity.
How can I properly handle this use case so that:
- Only the final uploaded file is stored in MinIO
- And temporary or unused uploaded files are not stored or can be cleaned automatically?
Thanks!