Rachelcoll / pe

0 stars 0 forks source link

Unclear error message when missing compulsory fields #7

Open Rachelcoll opened 1 week ago

Rachelcoll commented 1 week ago

I used command teacher /name Betty Chua /gender female /contact 95973211 /email elichua@yahoo.com /address Blk 30 Lorong 3 Serangoon Gardens, #07-18 /classes 5A, 8C and it throws error like this below:

image.png

It took me quite a lot of time to find the missing parameter (subject) since there are quite a lot of compulsory fields to create new person and address could be long, sometimes it's hard for user to find out which parameter is missing with a very long input and a very long error message that includes all possible fields that could be missing, they have to check through each field in command one by one, which can be quite inconvenient.

nus-se-bot commented 1 week ago

Your response not required for this bug as the team has accepted the bug as it is.