nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Wrong error message thrown in `editm` wrong IC #1740

Open nus-se-script opened 4 months ago

nus-se-script commented 4 months ago

Error message throws

image.png

However, IC is not invalid, it is that the IC is wrong and does not exist in database.


[original: nus-cs2103-AY2324S2/pe-interim#2189] [original labels: severity.Low type.FeatureFlaw]

SeaHogs commented 4 months ago

Team's Response

Sorry but "S1234568D" is actually not a valid NRIC. So the error message is correct.

image.png

If you want to check or generate NRIC you may use this website: https://nric.biz/#google_vignette The rules for valid nric can be found here: https://en.wikipedia.org/wiki/National_Registration_Identity_Card#Structure_of_the_NRIC_number/FIN

The above two links are already provided in the UG:

image.png

Duplicate status (if any):

--