Communication
: Users can save a single post multiple times
#10226
Labels
bug
communication
Pull requests that affect the corresponding module
lecture
Pull requests that affect the corresponding module
Describe the bug
Currently, it is possible to send multiple requests in quick succession to save a post multiple times, leading to a state that causes a error 500 in the "Saved Posts" section. While the server checks if an entry exists already, in case of two requests happening at the same time and querying the database simultaneously, it will create 2 saved post entries.
To Reproduce
Expected behavior
It should not be possible to save a post multiple times.
Screenshots
Which version of Artemis are you seeing the problem on?
7.9.1
What browsers are you seeing the problem on?
Other (specify in "Additional context")
Additional context
No response
Relevant log output
The text was updated successfully, but these errors were encountered: