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-559: Error when double-clicking directory in test inspector #559

Closed
poohcom1 opened this issue Aug 25, 2024 · 1 comment · Fixed by #560
Closed

GD-559: Error when double-clicking directory in test inspector #559

poohcom1 opened this issue Aug 25, 2024 · 1 comment · Fixed by #560
Assignees
Labels
bug Something isn't working
Milestone

Comments

@poohcom1
Copy link
Contributor

The used GdUnit4 version

4.3.4 (Latest Release)

The used Godot version

v4.3.stable

Operating System

Windows 11

Describe the bug

Double clicking a directory in the test inspector results in the following error in console, and nothing happens:

The object does not have any 'meta' values with the key 'line_number'.
res://addons/gdUnit4/src/ui/parts/InspectorTreeMainPanel.gd:909 - Trying to assign value of type 'Nil' to a variable of type 'int'.
gdunit.bug.mp4

There are two things I think should be changed:

  1. This error should not appear in the console.
  2. Clicking on a directory should toggle collapse. (opinion)

Steps to Reproduce

  1. Create a gdunit test in a nested directory.
  2. Double click on a directory in the inspector.

Minimal reproduction project

No response

@poohcom1 poohcom1 added the bug Something isn't working label Aug 25, 2024
@poohcom1 poohcom1 changed the title GD-XXX: Error when double-clicking directory in test inspector GD-559: Error when double-clicking directory in test inspector Aug 25, 2024
@MikeSchulze
Copy link
Owner

Thanks for reporting this issue 👍

@MikeSchulze MikeSchulze added this to the v4.4.0 milestone Aug 25, 2024
@MikeSchulze MikeSchulze linked a pull request Aug 25, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this to Done in GdUnit4 Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants