yhanyi / pe

0 stars 0 forks source link

No error/warning about irrelevant prefix #6

Open yhanyi opened 1 week ago

yhanyi commented 1 week ago

Summary

MB3 does not warn the user/throw an error about irrelevant prefixes being passed as an input.

Steps to reproduce

Run this command for example: addAllergy i/S1234567C al/Peanutsss !/HIGH

Expected

Error about passing irrelevant flag, rather than treating the flag as part of the input string.

Observed

Treats the flag as part of the input string and throws the relevant error, which can be misleading. Screenshot 2024-11-15 at 5.30.29 PM.png

Tester Information

Apple M2 Pro 32 GB Java Version: openjdk version "17.0.11" 2024-04-16 LTS OpenJDK Runtime Environment Zulu17.50+19-CA (build 17.0.11+9-LTS) OpenJDK 64-Bit Server VM Zulu17.50+19-CA (build 17.0.11+9-LTS, mixed mode, sharing)

nus-pe-script commented 6 days ago

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