GanapathySanathBalaji / pe

0 stars 0 forks source link

When '|' is present in the name and address fields when adding a new patient, both fields become empty in the list #7

Open GanapathySanathBalaji opened 4 years ago

GanapathySanathBalaji commented 4 years ago

The following command was used to add an new patient.

image.png

An error message could have been thrown.

nus-pe-bot commented 4 years ago

Team's Response

Rejected justification:

This is the correct behaviour. Please refer to the UG screenshot below. Section 4.1.1 explains the addp functionality.

It is stated that the format should be \name and \address , not \name| or \address|.

Because the wrong format is provided \name| or \address|, HAMS inteprets this as a dummy field and ignores it, as noted in Section 3.

Because no name or address is received by HAMS, it accepts it, as it is stated that as long as 1 field exist, HAMS will accept it.

image.png

image.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]