Skip to content

Fix exception handling in StandardItem class to include ValueError - #74

Merged
zrgt merged 1 commit into
rwth-iat:developfrom
thammel:fix/72-crash-assetlocation-submodel
May 28, 2026
Merged

Fix exception handling in StandardItem class to include ValueError#74
zrgt merged 1 commit into
rwth-iat:developfrom
thammel:fix/72-crash-assetlocation-submodel

Conversation

@thammel

@thammel thammel commented May 27, 2026

Copy link
Copy Markdown
Contributor

When expanding all items (Ctrl + Shift + +), QT renders all visible items and calls isLink() on each one to determine link styling.
ModelReference.resolve() can raise a ValueError when a non-numeric key is used.

Now ValueErrors are caught to prevent a crash of the QT rendering pipeline.

Fixes #72

@zrgt
zrgt merged commit f21271d into rwth-iat:develop May 28, 2026
1 check passed
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.

2 participants