AY2324S2-CS2103T-F13-3 / tp

https://ay2324s2-cs2103t-f13-3.github.io/tp/
Other
0 stars 5 forks source link

[PE-D][Tester C] create-group command seems to provide a wrong error message with large index. #262

Closed nus-pe-bot closed 7 months ago

nus-pe-bot commented 7 months ago

Description

The UG identifies the format of create-group as: create-group GROUP_NAME [-t TELEGRAM_CHAT_URL] [-cm COURSEMATE]... [-s SKILL]...

and it produces this bug message for invalid index:

Some of the included members could not be found.

When the index is even larger like #99999999999999999999999999999999999999999(unlikely but possible):

Index is not a non-zero unsigned integer.

although it is an non-zero unsigned integer.

Steps to Reproduce

  1. Open App
  2. Type create-group CS2103T GROUP2 -cm #1 -cm #99999999999999999999 -s C++ -s Java -t https://t.me/+3Jh9eXVeRh7qoaIN
  3. See error

Expected Behavior should produce error message that

Some of the specified members could not be found.

Actual Behavior produces error message that

Index is not a non-zero unsigned integer.

Screenshots

image.png

image.png


Labels: type.FunctionalityBug severity.Low original: dhlee03/ped#6

benson1029 commented 7 months ago

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.