You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
The edit person command allows users to enter inputs such as numeric statuses instead of having a fixed set of valid inputs such as Recovering, Recovered, Under observation, this may lead to confusion in users utilising the application to input and read details of their patients’ status.
Steps to Reproduce:
Launch DocTrack_1.5.1.jar.
Attempt the following command: edit person 1 st/123
Observe that the command executes successfully with Person chosen with index 1 under Patients is updated with a new Status of 123.
Expected:
Status should only validate a fixed number of valid inputs such as Stable, Recovering, Recovered, Under observation.
Actual:
The command executes successfully with Person chosen using a positive index under Patients is updated with a new Status of 123.
Suggested Improvement:
Change the behaviour of how Status is being parsed to ensure that only valid inputs are allowed. Utilise enums for valid input validation.
Description:
The
edit person
command allows users to enter inputs such as numeric statuses instead of having a fixed set of valid inputs such asRecovering
,Recovered
,Under observation
, this may lead to confusion in users utilising the application to input and read details of their patients’ status.Steps to Reproduce:
DocTrack_1.5.1.jar
.edit person 1 st/123
Person
chosen with index 1 underPatients
is updated with a new Status of123
.Expected:
Status should only validate a fixed number of valid inputs such as
Stable
,Recovering
,Recovered
,Under observation
.Actual:
The command executes successfully with
Person
chosen using a positive index underPatients
is updated with a new Status of123
.Suggested Improvement:
Change the behaviour of how Status is being parsed to ensure that only valid inputs are allowed. Utilise enums for valid input validation.
Labels:
type.FunctionalityBug
severity.Medium
original: blanklogic/ped#9
The text was updated successfully, but these errors were encountered: