Changes between Initial Version and Version 1 of Ticket #2127, comment 4
- Timestamp:
- 02/04/14 11:05:14 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2127, comment 4
initial v1 7 7 * Added additional events and registriations to account for changes to the jobs and tasks 8 8 9 I noticed that we have some overrides of Equals and GetHashCode in Task and Resource. Especially the override in Task creates problems because it uses mutable properties to calculate the hash code (and it's more than a strange implementation). The ItemListView<Task> doesn't update when the task's tostring changes, because then also the hash code changes and it can't find the associated listviewitem. I didn't address these problems yet.9 I noticed that we have some overrides of `Equals` and `GetHashCode` in Task and Resource. Especially the override in Task creates problems because it uses mutable properties to calculate the hash code. The ItemListView<Task> doesn't update when the task's `ToString` changes, because then also the hash code changes and it can't find the associated ListViewItem. ~~I didn't address these problems yet.~~ These problems were solved by removing the overrides in Task.