dom-buri / pe

0 stars 0 forks source link

Inconsistent Behaviour for search #10

Open dom-buri opened 9 months ago

dom-buri commented 9 months ago

When I enter search-patient 0, the result shows that no patient with Patient ID 0 and the patient list still shows all the patients created. However, when i enter search-patient 4 where Patient ID 4 does not exist, it also shows no patient with Patient ID 4. However, it now displays an empty list

Screenshot 2023-11-17 at 4.48.50 PM.png

Screenshot 2023-11-17 at 4.49.59 PM.png

soc-se-bot commented 9 months ago

Team's Response

Because of the way ID is implemented in ToothTracker, there is no ID 0. Thus, when ID 0 is searched for, the error message in the command box is the actual and expected output - No patient with patient ID 0. If however, an ID value greater than 1 is searched for, the dentist list will be filtered and if no valid ID is found, the error message is also the actual and expected output - No patient found with patient ID [patient ID value].

Items for the Tester to Verify

:question: Issue response

Team chose [response.NotInScope]

Reason for disagreement: [replace this with your explanation]