The UG identifies the format of add-member as:
add-member GROUP_NAME -cm COURSEMATE [-cm COURSEMATE]...
and it produces this bug message for invalid index:
Some of the specified members could not be found.
When the index is even larger like #99999999999999999999999999999999999999999(unlikely but possible):
Invalid command format!
add-member: Adds CourseMates as members to an existing group. CourseMates can be specified either by name or by the '#' notation.
Parameters: GROUP_NAME (group must exist) -cm COURSEMATE [-cm COURSEMATE]...
Example: add-member CS2103T GROUP -cm #1 -cm John Doe.
although it is the valid command format.
Steps to Reproduce
Open App
Type add-member CS2103T -cm #99999999999999999999999999999999999999999
See error
Expected Behavior
should produce error message that
Quoting from course website: If the problems can only happen in case of deliberate sabotage (e.g., user entered a 30-digit telephone number), in which case it should not be considered a bug.
Description
The UG identifies the format of add-member as:
add-member GROUP_NAME -cm COURSEMATE [-cm COURSEMATE]...
and it produces this bug message for invalid index:
When the index is even larger like #99999999999999999999999999999999999999999(unlikely but possible):
although it is the valid command format.
Steps to Reproduce
add-member CS2103T -cm #99999999999999999999999999999999999999999
Expected Behavior should produce error message that
Actual Behavior command format error displayed
Screenshots
Labels:
type.FunctionalityBug
severity.Low
original: dhlee03/ped#5