Open nus-se-bot opened 3 years ago
Thank you for your effort and time. However it is not a bug.
It will not cause any performance problem even if a user just updates the field with the same content. Hence, we believe that a user can definitely update the field with the same content since it will not have any negative effect on the program or cause any security issue. It is also unreasonable to show an "error message" to the user for this.
Excessive verification may even cause unnecessary bugs.
Therefore, we allow ezFoodie to accept edits with same content.
Hope this clarify your doubt.
--
Steps to reproduce: when the member at index 1 of the displayed list is named "Bernice Yu", and we type command
edit -mem/ -i/1 -n/Bernice Yu
Expected: An error message saying "The field value is not edited / same as before"
Actual: No error message is shown; editing is still allowed
[original: nus-cs2103-AY2122S1/pe-interim#5872] [original labels: type.FeatureFlaw severity.VeryLow]