AmruthPillai / Reactive-Resume

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
https://rxresu.me
MIT License
25.91k stars 2.65k forks source link

[Bug] Only a single CV profile picture is stored in Minio. #1664

Open jaimeaq7 opened 11 months ago

jaimeaq7 commented 11 months ago

Is there an existing issue for this?

Product Variant

Self-Hosted

Current Behavior

When uploading a profile picture in a CV, a URL is generated, for example: /pictures/clq23nls70000otxcohz13v59.jpg. However, when creating another CV and uploading a different image, it overwrites the previous CV's image, resulting in the same URL: /pictures/clq23nls70000otxcohz13v59.jpg. Pictures previews I have tried in various ways: deleting the photo, then uploading another photo, etc. In the previews, the photos I added to each CV are displayed, but when editing any CV, only a single image and a single URL are shown.

Expected Behavior

It is expected that when uploading a profile picture to a CV, it is saved, and a URL is created for that image, for instance: /pictures/XXX1.jpg. Similarly, when creating another CV and uploading a different image, it should be saved, and another URL should be generated, for example: /pictures/XXX2.jpg.

Steps To Reproduce

The steps I am using are as follows:

Create CV
Upload photo
Create another CV
Delete photo
Upload another photo.

What browsers are you seeing the problem on?

Firefox

What template are you using?

None

Anything else?

No response

hummigbird1 commented 2 months ago

I confirm this bug ;) Any update when this might be fixed?