Bandov / pe

0 stars 0 forks source link

Unable to edit a name with only numeric values #9

Open Bandov opened 2 months ago

Bandov commented 2 months ago

Functionality Bug (Severity MEDIUM) Steps to reproduce

  1. Add a person with name 1
  2. Use '/edit-person ; name : 1 ; field : { address : Pooch Street31}' Expected Have the address of the person to be updated Actual Error message showing person does not exist Screenshot 2024-04-19 at 4.51.27 PM.png
nus-se-script commented 2 months ago

Team's Response

This was a problem resulting from the wrong use of the edit command. the correct command should have been "/edit-staff ;..." instead of "/edit-person.." since the contact type is STAFF. This is a wrong command usage and an invalid bug since the app actually allows for edit of person based off the name "1" if the right command format is used.

Correct command: /edit-staff ; name : 1 ; field : { address : Pooch Street31 } The success message is shown below:

image.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]