Skip to content

Conversation

@Olipro
Copy link
Collaborator

@Olipro Olipro commented Nov 5, 2024

The callback responsible for sorting columns would assume that the Tag field of the control always held a DataObjectBase but this is not necessarily true.

We now safely check if the type is compatible to avoid an uncaught exception.

Additionally, I have added code that will make a final attempt to sort by quality level; though I'm not entirely clear if it actually makes sense to do so here. If not, please let me know and I can alter/remove it.

fixes #106

The callback responsible for sorting columns would assume that the Tag
field of the control always held a `DataObjectBase` but this is not
necessarily true.

We now safely check if the type is compatible to avoid an uncaught
exception.

Additionally, I have added code that will make a final attempt to sort
by quality level; though I'm not entirely clear if it actually makes
sense to do so here. If not, please let me know and I can alter/remove
it.

fixes DanielKote#106
@Olipro Olipro force-pushed the GraphSummaryCrashFix branch from 74339c9 to 6481db1 Compare November 5, 2024 09:00
@Olipro
Copy link
Collaborator Author

Olipro commented Nov 5, 2024

I would mention that I did investigate having ItemQualityPair implement DataObjectBase - but given the fields in the base, that didn't strike me as making sense, if it does make sense, I'd be interested in learning why since I'm new to this codebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sorting issue within Factory Summary / Graph Summary

1 participant