Open hsiaojietng opened 2 years ago
There is no restriction on tutorial names containing only numbers.
We only enforce a constraint that tutorial names must contain alphanumeric characters.
When this is violated, the following error message would be shown:
"Tutorial names should only contain alphanumeric characters and spaces, and should not be blank"
Team chose [response.Rejected
]
Reason for disagreement: Since this app is targeted in the context of NUS, it would only be correct if the app only allows the input of tutorial names in this specific format: 'T' (Luminus format) or 'TUT' (NUSMOD format) [Where * can be any 2 digit number]
Since the app does not enforce this rule, a user might accidentally input a tutorial with just a number and that might cause inconvenience.
[From NUSMODS]
[From Luminus]
How to reproduce: 1) Input
add_class tn/0 v/LT13 d/Monday tm/13:00 wk/13
Expected result: There should be an error message that states a tutorial cannot only contain numbers.
Actual result This class is successfully added