Open SelwynAng opened 9 months ago
The add
command expects only the n/
, hp/
, e/
and p/
prefixes as stated in the UG:
As such, the expression examplea@gmail.com d/1234
was read as the input for the email
parameter, which is an invalid email input.
We argue that this is a suboptimal design of a feature, but rectifying it is less important than the work that has already been done. Since an error message is gracefully thrown about the email
parameter, and the user is able to continue using the software - this should be classified as not in scope.
Team chose [response.NotInScope
]
Reason for disagreement: [replace this with your explanation]
Upon adding an unknown prefix into the input for the
add
command, the error message shown is for the previous prefix and does not reflect that an unknown prefix has been accidentally added into the user commands.Steps to reproduce
add n/test hp/2345678 e/examplea@gmail.com d/1234 p/tester
In this case, an unknown prefix called
d/
has been added into the user input, but the error message shown is that of the email prefix. Perhaps, the command parser needs to handle such cases of unknown prefixes.