Normally, one would expect a somewhat consistent error message for a command in the correct format but with invalid input. But, when testing FApro, for commands that takes index as one of their parameters, there is different error message being displayed depending whether if the input index is less than or equal to 0 or if the input index is greater than the total number of contacts.
The following is a screenshot of the output of delete command with -1 as input index
The following is a screenshot of the output of delete command with an input index greater than the total number of contacts
The edit command, the addtags command and the select command also has the same output like that of the delete command for the two types of invalid index.
Normally, one would expect a somewhat consistent error message for a command in the correct format but with invalid input. But, when testing FApro, for commands that takes index as one of their parameters, there is different error message being displayed depending whether if the input index is less than or equal to 0 or if the input index is greater than the total number of contacts.
The following is a screenshot of the output of
delete
command with -1 as input indexThe following is a screenshot of the output of
delete
command with an input index greater than the total number of contactsThe
edit
command, theaddtags
command and theselect
command also has the same output like that of the delete command for the two types of invalid index.Labels:
severity.VeryLow
type.FunctionalityBug
original: JukeBoxK/ped#4