marcus-ny / pe

0 stars 0 forks source link

Update command should allow for deleting optional fields #8

Open marcus-ny opened 6 months ago

marcus-ny commented 6 months ago

Description: The update command should allow users to delete optional fields such as next of kin.

Precondition: Contact Adam exists with just phone number and email, as shown in screenshot.

Screenshot 2024-04-19 at 4.44.10 PM.png

Steps to reproduce: 1.update u/Adam k/Charlie (succeeds as shown here)

Screenshot 2024-04-19 at 4.45.00 PM.png

  1. update u/Adam k/

Screenshot 2024-04-19 at 4.46.04 PM.png

Notes: Although the UG has stated that the update fields cannot be empty, there is no other command in the app that allows for easily removing optional parameters. The only way is to delete the contact itself and add it again with the desired parameters. If for instance, next of kin was attached wrongly (intended for another person perhaps), and we want to remove the next of kin from Adam, we are not able to do so easily through update command.

soc-se-bot commented 6 months ago

Your response not required for this bug as the team has accepted the bug as it is.