pradyuprasad / pe

0 stars 0 forks source link

Tag in add command allows duplicates with different cases #5

Closed pradyuprasad closed 4 days ago

pradyuprasad commented 5 days ago

It is possible for users to put in the same tag again if the case is different eg t/tag t/Tag. This may cause unintentional duplication of tags if the user is in a hurry and types the same thing twice

Steps to reproduce

  1. Ensure that no student with name "Tester" is in the app. You may replace the name with anything else.
  2. Execute the command add n/Tester p/98765432 e/ben@example.com a/John street, block 123, #01-01 f/100 t/tag t/Tag
  3. The app should execute the command.

image.png

While the team may argue that this is allowed and is actually a feature, I think a reasonable user may expect that this is handled. Either ways the user should get a warning when the command is executed or note in the UG that this is allowed and they should be careful.