adhy-p / pe

A repository generated automatically using CATcher for NUS CS2113T
0 stars 0 forks source link

[Bug] Faulty NRIC data is accepted if the save data is edited manually #2

Open adhy-p opened 3 years ago

adhy-p commented 3 years ago

Faulty NRIC data is accepted if the save data is edited manually

An expert user may want to edit the data directly from the save file instead of using the program. In this case, if the user made a typo, they will not be able to access that particular user again because when the user tries to edit/assign/anything, as the program does not accept invalid NRIC.

Steps to recreate

  1. Add a user to the database
  2. Exit the program
  3. Edit the save file manually
  4. Reopen the application
  5. Try to edit/book an appointment

Expected

The faulty data should be skipped during parsing and the user should be notified that there is a faulty data

Actual

image.png

nus-pe-bot commented 3 years ago

Team's Response

Accepted.

Items for the Tester to Verify

:question: Issue severity

Team chose [severity.High] Originally [severity.Low]

Reason for disagreement: [replace this with your explanation]