nus-tic4002-AY2021S2 / pe-dev-response

0 stars 0 forks source link

When the timing of the appointment go beyond 24hrs, it will still be saved. #143

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

Although there is a check for the appointment date's validity, there is no check of the time of the appointment which will be any digit value user inputted.

I rate this as medium because the user should avoid this kind of input. But as a appointment scheduling program, this may result in patient's appointment have not been scheduled correctly.

Command used: addApp 1 /d that /t 2021-03-31 25:00:00

image.png


[original: nus-tic4002-AY2021S2/pe-interim#143] [original labels: severity.Medium type.FunctionalityBug]

adi-kd0021 commented 3 years ago

Team's Response

Invalidate is allow during the input, this one we will fix the bug, accepted

Duplicate status (if any):

--