Upon users accidentally inputting two parameters, like for example in this command with two 'round' parameters, add n/John Doe p/98765432 e/johnd@example.com j/Software Engineer r/Technical Interview r/Instagram check s/Java the following is produced:
Only the second parameter is accepted. Such behaviour does not throw an error, nor is it specified in the user guide. However it might lead to users to falsely input data and not realize it, especially if they are not aware this can happen.
This is expected behaviour. The user guide does state that when a parameter is expected only once, but entered twice. The last occurence of the input will be taken. Screenshot of User Guide:
Upon users accidentally inputting two parameters, like for example in this command with two 'round' parameters,
add n/John Doe p/98765432 e/johnd@example.com j/Software Engineer r/Technical Interview r/Instagram check s/Java
the following is produced:Only the second parameter is accepted. Such behaviour does not throw an error, nor is it specified in the user guide. However it might lead to users to falsely input data and not realize it, especially if they are not aware this can happen.
[original: nus-cs2103-AY2122S2/pe-interim#2990] [original labels: severity.Low type.FunctionalityBug]