When clearing the person tags using the edit person command, the result does not show that the tag is cleared. Instead, the tag shown is [To be added] which might mislead the user to think that there is a To be added tag on the edited person.
Steps to reproduce
Given that en existing person has a tag
Invoke edit person 1 t/
Expected result
Expected the feedback message to be:
Edited Person: Alex Yeoh; Phone: 87438807; Email: alexyeoh@example.com; Address: Blk 30 Geylang Street 29, #06-40; Tags: []
Actual result
Edited Person: Alex Yeoh; Phone: 87438807; Email: alexyeoh@example.com; Address: Blk 30 Geylang Street 29, #06-40; Tags: [To be added]
Description
When clearing the person tags using the
edit person
command, the result does not show that the tag is cleared. Instead, the tag shown is[To be added]
which might mislead the user to think that there is aTo be added
tag on the edited person.Steps to reproduce
edit person 1 t/
Expected result
Expected the feedback message to be:
Edited Person: Alex Yeoh; Phone: 87438807; Email: alexyeoh@example.com; Address: Blk 30 Geylang Street 29, #06-40; Tags: []
Actual result
Edited Person: Alex Yeoh; Phone: 87438807; Email: alexyeoh@example.com; Address: Blk 30 Geylang Street 29, #06-40; Tags: [To be added]
[original: nus-cs2103-AY2425S1/pe-interim#281] [original labels: severity.Low type.FunctionalityBug]