nus-cs2103-AY2122S2 / pe-dev-response

0 stars 0 forks source link

Edit person allowing to edit Person Name to same value #2207

Open nus-pe-bot opened 2 years ago

nus-pe-bot commented 2 years ago

Steps to reproduce

  1. Run edit 2 n/James Lee e/jameslee@example.com
  2. Run edit 3 n/James Lee e/jameslee@example.com

Expected

Run edit 3 n/James Lee e/jameslee@example.com should be unsuccessful as person with James Lee exist.

Actual

Command ran successfully.

Screenshots

image.png

Considering that I am not able to add two people with the same name, I can however edit a person to have the same name. This defeats the purpose of checking for duplicate Persons when adding them.


[original: nus-cs2103-AY2122S2/pe-interim#2229] [original labels: type.FunctionalityBug severity.Medium]

MontyPython28 commented 2 years ago

Team's Response

No details provided by team.

Duplicate status (if any):

Duplicate of #2246