nshian / nus-cs2113-pe

0 stars 0 forks source link

Application does not parse user input for module code correctly #6

Open nshian opened 1 year ago

nshian commented 1 year ago

When the user enters in the module code, they may accidentally enter an additional "/" after the "m/" field before entering the actual module code. However, the application is unable to handle this invalid user input and incorrectly accepts the module code to be "/CS1010" instead of printing an appropriate error message.

image.png

nus-pe-bot commented 1 year ago

Team's Response

No details provided by team.

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

Module code can in wrong format

Screenshot 2022-11-11 at 17.17.18.png

module code start with / is added into system


[original: nus-cs2113-AY2223S1/pe-interim#881] [original labels: severity.High type.FunctionalityBug]

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

special characters should not be accepted.

Items for the Tester to Verify

:question: Issue duplicate status

Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)

Reason for disagreement: [replace this with your explanation]