simon-s-99 / games-r-us

A Blazor Web App created by Samuel Lööf, Adam Kumlin, Gabriel Wedin & Simon Sörqvist.
MIT License
3 stars 0 forks source link

[BUG] Duplicate images do not upload (create listing) #27

Closed simon-s-99 closed 4 months ago

simon-s-99 commented 4 months ago

When a user creates a listing and uploades the same picture on 2 different listings the second picture is not uploaded but the filename is changed. (This breaks the first created listing as the image path in the database is no longer accurate.)

This only happens in the same session. If the application is restarted a second upload of the same image works as intended. (i.e. it uploads a second copy)

Samuel-Loof commented 4 months ago

The code to solve this might exist in this old commit = https://github.com/simon-s-99/games-r-us/commit/250fd306262d7ba858a6c56453f6782c1656cae6

Samuel-Loof commented 4 months ago

This issue was successfully closed by #31