Lalelulilulela / pe

0 stars 0 forks source link

Incorrect error message for AddPolicy Command #7

Open Lalelulilulela opened 6 months ago

Lalelulilulela commented 6 months ago

Input: addPolicy 1 n/alex pol/SuperSaver type/CI polnum/39376234 pterm/annually prem/3000 b/100000

The above input results in the error message:

image.png

even though the supplied index is 1, a non-zero unsigned integer and the error comes from adding n/Alex, an invalid parameter.

This will confuse users and cause them great inconvenience when using the addPolicy command.

nus-pe-bot commented 6 months ago

Team's Response

image.png

The user is expected to follow the UG format stated above. There is no such parameter as "n/"

Our team will fix the error message in future versions.

Items for the Tester to Verify

:question: Issue response

Team chose [response.NotInScope]

Reason for disagreement: [replace this with your explanation]


## :question: Issue severity Team chose [`severity.Low`] Originally [`severity.Medium`] - [ ] I disagree **Reason for disagreement:** [replace this with your explanation]