-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fixed expression nodes created with custom param names incorrectly clearing during internal cleanup #4756
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
Fixed expression nodes created with custom param names incorrectly clearing during internal cleanup #4756
Conversation
… were incorrectly cleared during internal cleanup
Thanks Arlodotexe for opening a Pull Request! The reviewers will test the PR and highlight if there is any conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌 |
LGTM! |
@Arlodotexe quick follow-up question here. Is this anything we can add a unit test for? |
@michael-hawker I considered it, but we currently don't have any tests for ExpressionFunctions and ExpressionNode. Even the minimum tests could have caught both these issues before they happened, so I'd rather have those before writing something more specific. I can draw up a few of those, if that works. Otherwise we can save adding basic tests for the Labs port. |
Good point @Arlodotexe, mind opening a tracking issue and highlighting some thoughts on this for 8.0? |
As we move to the Labs-style architecture for 8.0, part of the migration process should be to add any missing essentials - samples, documentation, UI / unit tests, etc. This would be covered by that process. We should meet and discuss this a bit more before we ship 7.1.3/7.2. We'll want a checklist of sorts for migrating to the new repo arch, then create tracking issues (or a project board) for each component or namespace. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marking as signed-off as @arcadiogarcia reviewed as well.
Fixes #4595
This PR fixes an issue where expression nodes created with custom param names were incorrectly cleared during internal cleanup. The bug was introduced in #4183.
The fix has been tested against the original bugged code provided in #4183, and the repro provided in #4595.
PR Checklist
Please check if your PR fulfills the following requirements:
Other information
n/a