nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Editing a game's name will wipe away the rest of the data for that game #3675

Open nus-se-script opened 1 week ago

nus-se-script commented 1 week ago

Action:

 I key in the game name wrong (eg. DOTA 3 instead of DOTA 2) and use edit to change the game's name

Expected result/output:

 the name of the game is changed

Actual result/output:
 the name is changed, but the rest of the data I stored under the game is gone This could. cause user to lose valuable data Screenshot:



Screenshot 2024-11-15 at 5.03.07 PM.png Screenshot 2024-11-15 at 5.03.30 PM.png

Suggestions: maybe there is a way to keep this data? I saw in the user guide that the 'game' will also be removed when using edit, I think can make it clearer in the UG as well


[original: nus-cs2103-AY2425S1/pe-interim#3160] [original labels: severity.Medium type.FeatureFlaw]

JJtan2002 commented 1 week ago

Team's Response

Acknowledged as a valid issue that arises due to the behavior of edit command, and a good improvement for future releases. However, we have clearly defined this behavior of edit in relation to Games.

Additionally, we have provided multiple ways to workaround this issue. If the typo was noticed straightaway, the user can undo the command and re-enter with the corrected information.

In the example provided by your screenshot, users can addgame with the correct details and then deletegame the incorrect entry.

Duplicate status (if any):

--