Open nus-se-bot opened 2 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.
--
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.
[original: nus-cs2103-AY2122S1/pe-interim#5727] [original labels: type.FunctionalityBug severity.Medium]