Open nus-se-script opened 1 week ago
Trying to add someone sharing the same name as an existing person results in an error, even though the UG does not mention such restrictions.
add
Alex Yeoh
add n/Alex Yeoh
Duplicates allowed and command succeeds.
Error given due to duplicate contact.
System Information:
Java version:
[original: nus-cs2103-AY2425S1/pe-interim#454] [original labels: severity.Low type.DocumentationBug]
If you look at the screenshot you sent for parameter constraints it does actually mention that duplicate names are not allowed, just that they are case sensitive.
--
Summary
Trying to add someone sharing the same name as an existing person results in an error, even though the UG does not mention such restrictions.
add
commandparameter constraint
Steps to reproduce
Alex Yeoh
exists in listadd n/Alex Yeoh
Expected
Duplicates allowed and command succeeds.
Observed
Error given due to duplicate contact.
Tester Information
System Information:
Java version:
[original: nus-cs2103-AY2425S1/pe-interim#454] [original labels: severity.Low type.DocumentationBug]