Skip to content

Editing a Person with the same information results in displaying incorrect message #9

@brianchoon

Description

@brianchoon

This issue is regarding the edit command.

This is the person I want to edit:

image.png

I then proceed to run the following command: edit 1 /name Bernice Yu

This was the response.

image.png

In particular, I am zooming in on the help message. This can be misleading, since the person was not actually edited. It has the same name and all other information as before.

As a suggestion, implement a mechanism in the edit command to detect if the changes proposed for a person are identical to their current information, and if so, display another message to inform the user that the fields they entered did not change anything.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions