Free cookie consent management tool by TermsFeed Policy Generator

Changes between Initial Version and Version 1 of Ticket #2127, comment 4


Ignore:
Timestamp:
02/04/14 11:05:14 (10 years ago)
Author:
abeham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2127, comment 4

    initial v1  
    77 * Added additional events and registriations to account for changes to the jobs and tasks
    88
    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.
     9I 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.