Skip to content

Conversation

@kevel-dev
Copy link

@kevel-dev kevel-dev commented Jan 28, 2025

Some times when the user changes the insuree photo, the be raises and error: File exists
Even after adding your corrections here: https://openimis.atlassian.net/browse/OP-2065, we still encountered this bug. So So we also changed the "xb" et "wb" to allows updating the data in the directory instead of raising the error.

@delcroip
Copy link
Member

delcroip commented Jan 29, 2025

it means the FE is still sending the former UUID of the photo @sniedzielski did you made sure the UUID was removed when a new photo is uploaded
@dragos-dobre @mngoe the current approach remove the old photo from the server, bug or feat ?

@kevel-dev
Copy link
Author

I usually observe this bug when i update the photo two times without refreshing the page

@delcroip
Copy link
Member

@sniedzielski please have a look on the FE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants