Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GD-529: Fix null value access in the inspector. #530

Merged
merged 1 commit into from
Jul 4, 2024
Merged

Conversation

MikeSchulze
Copy link
Owner

@MikeSchulze MikeSchulze commented Jul 4, 2024

Why

A user reported an script error res://addons/gdUnit4/src/ui/parts/InspectorTreeMainPanel.gd:880 - Cannot call method 'get_meta' on a null value. It can only happen when no test/test suite is selected in the inspector.

What

Added a null check to avoid this kind of error

# Why
A user reported an script error ` res://addons/gdUnit4/src/ui/parts/InspectorTreeMainPanel.gd:880 - Cannot call method 'get_meta' on a null value.`
It can only happen when no test/test suite is selected in the inspector.

# What
Added a null check to avoid this kind of error
@MikeSchulze MikeSchulze self-assigned this Jul 4, 2024
@MikeSchulze MikeSchulze added bug Something isn't working UI labels Jul 4, 2024
@MikeSchulze MikeSchulze linked an issue Jul 4, 2024 that may be closed by this pull request
@MikeSchulze MikeSchulze merged commit 0e8538a into master Jul 4, 2024
@MikeSchulze MikeSchulze deleted the GD-529 branch July 4, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GD-529: Cannot call method 'get_meta' on a null value
1 participant