Closed mfrancis33 closed 2 years ago
Introduced when compiling against iOS 15 with the diffable data source in the Team@Event view - looks like it's an issue with the record row
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Diffable data source detected item identifiers that are equal but have different hash values. Two identifiers which compare as equal must return the same hash value. You must fix this in the Hashable (Swift) or hash property (Objective-C) implementation for the type of these identifiers. Identifiers that are equal but have different hash values: (The_Blue_Alliance.(unknown context at $1027e3970).TeamSummaryItem.record(wlt: <WLT: 0x283af9d40>, dqs: Optional(0))) and (The_Blue_Alliance.(unknown context at $1027e3970).TeamSummaryItem.record(wlt: <WLT: 0x283bf5880>, dqs: Optional(0)))'
Describe the bug Looking at a team's summary in an event having the app update the page will crash the app sometimes. Behavior has been inconsistent.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expected the app to update the page and not crash
Screenshots I don't know how to screenshot the app suddenly closing
Your Environment (please complete the following information):
Additional context The crash is variable. Sometimes it crashes when I open the summary page, sometimes I have to swipe up. Sometimes it doesn't crash at all.