You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I think there is a possible race-condition, when multiple persons trying to write data (answer the poll). Information about some Participants can be overwritten.
To Reproduce
Hard to reproduce, I'm not sure if this is a valid point.
Additional context
The way the app writes data to the network is not the best. It's better if we have update methods for every attribute. This means that we cannot encrypt the hole PollDTO Object, so we could encrypt only the values of (for example: participants) and map them as a key value map, with the name of the Participant.
In this way, we can update one Participant without overriding the hole object.
This is a much better implementation
The text was updated successfully, but these errors were encountered:
Describe the bug
I think there is a possible race-condition, when multiple persons trying to write data (answer the poll). Information about some Participants can be overwritten.
To Reproduce
Hard to reproduce, I'm not sure if this is a valid point.
Additional context
The way the app writes data to the network is not the best. It's better if we have update methods for every attribute. This means that we cannot encrypt the hole PollDTO Object, so we could encrypt only the values of (for example: participants) and map them as a key value map, with the name of the Participant.
In this way, we can update one Participant without overriding the hole object.
The text was updated successfully, but these errors were encountered: