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)
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)