CS2103-AY1819S1-W13-3 / main

ConTAct - A CS2103 project aimed at making a teaching assistant's job easier
https://cs2103-ay1819s1-w13-3.github.io/main/
MIT License
2 stars 5 forks source link

Updating Mark contents when AddressBook changes #86

Closed alyip98 closed 5 years ago

alyip98 commented 5 years ago

Currently there's a bug where if the Mark contains Persons that changed after the Mark was created, such as calling an "edit" command, the Set in Mark won't be updated to point to the edited Person object. Same issue with "delete" commands.

Planned solution: Whenever a Person is modified, raise a PersonChangedEvent to tell Marks to update their contents (not sure how hard it is and if its feasible by PE dry run)

alyip98 commented 5 years ago

88