AY2122S1-CS2103T-F13-2 / tp

Other
0 stars 6 forks source link

[PE-D] editElderly restricts each elderly to 1 tag, but addElderly allows multiple tags to be added for each elderly #143

Closed nus-pe-bot closed 3 years ago

nus-pe-bot commented 3 years ago

Steps to reproduce:

  1. addElderly en/John Doe a/40 g/M r/53 t/cancer t/diabetes t/friend
  2. editElderly 10[index] t/family

editElderly command replaces all the tags with one tag - family. Perhaps the user only wanted to to edit one tag from 'friend' to 'family' but other tags are removed as well. Nurses should be able to specify which tag she would like to edit, instead of deleting existing tags which she might want to keep for that elderly.

The editElderly command restricts each elderly to 1 tag, while addTag allows users to add multiple tags to an elderly.


Labels: severity.Medium type.FeatureFlaw original: amzhy/ped#3

nicole-luo-exe commented 3 years ago

Feature works as intended but have to clarify in user guide