LeongWZ / pe

0 stars 0 forks source link

Deletion of tag (without force) does not work when it is unused #1

Open LeongWZ opened 2 weeks ago

LeongWZ commented 2 weeks ago

Created a new person with a new tag called abcde. After deleting the person, delete-tag does not work for abcde when it is unused without using f/.

To reproduce:

  1. add n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 t/friends t/owesMoney w/Wedding March 20th 2027 w/Amy's Wedding t/abcde
  2. delete [John Doe's person number]
  3. delete-tag t/abcde

Output message from delete-tag command: The Tag: abcde is still used. Use f/ to force the deletion of tags. This will unassign all people currently with the Tag.

nus-pe-script commented 1 week ago

Team's Response

This is a rare bug and can be easily remediated with the f/ flag if the user knows the tag can be deleted. This only causes minor inconveniences to the user: adding a f/ in the command, hence the severity should be Low.

Items for the Tester to Verify

:question: Issue severity

Team chose [severity.Low] Originally [severity.Medium]

Reason for disagreement: [replace this with your explanation]