nus-cs2103-AY2324S1 / pe-dev-response

0 stars 0 forks source link

Unlinking contact does not do its job #3107

Open nus-se-script opened 10 months ago

nus-se-script commented 10 months ago
  1. Add a tag clients to the contact Bernice Yu. (If not already present)
  2. Link contact Bernice event NUS Career Fair.
  3. Delete tag clients.
  4. Unlink contact Bernice from the event NUS Career Fair.

Expected: Contact Bernice disappears from the list. Actual: Contact Bernice is still linked to the list as shown by the GUI.

image.png

Reselecting the same event (supposedly to refresh) still shows that Bernice is attached to the event.

This problem might be because the list of tags in storage for Bernice in list of contact and Bernice in the list of contacts linked to this event are not in sync.


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

rionshocker commented 10 months ago

Team's Response

We've overlooked the part of updating the 2 different contact lists, specifically the UniqueContactList and the contact list within the event.

Duplicate status (if any):

--