Open cristoforows opened 2 years ago
Both point to the same error messages
[The team marked this bug as a duplicate of the following bug]
Incorrect error message printed when extra parameters are provided
Steps to reproduce: 1) Run the following command:
add doctor /info s1234567a, alice a, 22, F, 1 NUS Road, 2000-01-01, ent, extra parameter
Expected outcome: the user is warned about the presence of an extra unnecessary parameter.
Actual outcome: the user is warned about missing parameters instead.
[original: nus-cs2113-AY2122S2/pe-interim#687] [original labels: severity.Low type.FunctionalityBug]
[This is the team's response to the above 'original' bug]
Yes, I believe a better error message could have been thrown so that the user understand what is going on.
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
Team chose [severity.Low
]
Originally [severity.VeryLow
]
Reason for disagreement: this is not a cosmetics problem and would cause inconvenience for the user because they would be confused on which part of the input was wrong. Instead of lowering the severity, this could even result in higher one (medium) instead. I believe the severity lays between low and medium
the error was too many parameter was inputted instead of lacking of parameter as the error message suggested