I initially assumed that trailing whitespaces were the cause of the error, before realising it was due to existing pid and employee id pair in assignments. Below is the bug report made related to this false assumption:
Upon executing assign aid/3 pid/10 id/3 the following error message is received despite the fact that the assignment does not exist in the addressbook:
This error message is inaccurate. Application is unable to handle trailing whitespaces after id parameter. Similar issues for inputs like assign aid/3 pid/10 id/3.
The only conditions for Numeric inputs is stated in the UG as follows:
No mention of not including whitespaces found.
Suggested improvement
From the above misunderstanding, I believe that the error message can be improved to avoid similar confusion with other users. I think pid and employee id pairing should be further clarified and a line break could be added so that all the important sections of the error message would be visible on majority of screen sizes.
Details
I initially assumed that trailing whitespaces were the cause of the error, before realising it was due to existing pid and employee id pair in assignments. Below is the bug report made related to this false assumption: Upon executing
assign aid/3 pid/10 id/3
the following error message is received despite the fact that the assignment does not exist in the addressbook:This error message is inaccurate. Application is unable to handle trailing whitespaces after id parameter. Similar issues for inputs like
assign aid/3 pid/10 id/3
.The only conditions for Numeric inputs is stated in the UG as follows:
No mention of not including whitespaces found.
Suggested improvement
From the above misunderstanding, I believe that the error message can be improved to avoid similar confusion with other users. I think pid and employee id pairing should be further clarified and a line break could be added so that all the important sections of the error message would be visible on majority of screen sizes.