Open Agentum07 opened 3 years ago
We warn the user that a duplicate game entry with the same game type and date already exists, as seen in this screenshot here
The screenshot shown in the bug report also has the warning
We are aware of this issue, but decided to allow duplicate entries because it is possible that the user played games in very close succession (though unlikely). The warning should be sufficient to warn the user that their edit creates a duplicate entry.
Team chose [response.Rejected
]
Reason for disagreement: Given that you allow users to input both hours and minutes, close succession is very unlikely.
However, because I can create a complete duplicate entry, according to the app I was in 2 places at once, playing the same game.
As for the warning:
Firstly, it is inconspicuous.
Secondly, a warning can be ignored. If the app wanted a confirmation that I want to input the same entry again, then that would have made more sense.
Environment
Windows 11, java version 11.0.9
Steps to reproduce
Use the standard data run command
edit 2 /g BlackJack /p 2.74 /dur 10 /loc Genting Casino /date 2021-10-21 12:40
edit 1 /tag drunk
Expected Result
Error message stating entry 1 and 2 are the same
Actual Result
Entries get modified. So now I played 2 games at the same time, same location, same profit, same duration.