Skip to content

Edit still succeeds even when no changes are made #5594

@nus-se-script

Description

@nus-se-script

image.png

Description

If I call the edit command without changing anything, success message is still returned

Steps to reproduce

  1. Launch the application for the first time to load initial data.
  2. Run edit command, set the name as the same

Expected behaviour

There should be an error message to warn me that no edits were made

Actual behaviour

No warnings were made, and the success message is displayed

Reason for severity

very minor flaw for users


[original: nus-cs2103-AY2324S2/pe-interim#5593] [original labels: type.FunctionalityBug severity.VeryLow]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions