Open Wxy2003-xy opened 2 weeks ago
This bug is also caused by not setting the editedPerson as the new partner/guest in the previous Person's Wedding objects in the execute() function of the EditCommand.
[The team marked this bug as a duplicate of the following bug]
Previously edited person become new contact upon restart
Step to reproduce: Delete addressbook.json Start app enter command
edit 1 n/aaa
exitrestart app previously edited person 1 becomes a new copy appear at the bottom with name before editing
This result in duplicate of contacts that the user never intends to add, editing contact will result in the growth of total contact number.
[original: nus-cs2103-AY2425S1/pe-interim#848] [original labels: severity.High type.FunctionalityBug]
[This is the team's response to the above 'original' bug]
No details provided by team.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
Step to reproduce: delete addressbook.json start app assign person 2 to the first wedding as a partner using command
asw 2 w/Casey's Wedding p1/
edit the name of person 2 to 'a' using commadedit 2 n/a
The name in the weddings partner 1 field is not updated accordingly, still displaying a name that is no longer in the address book.