-
-
Notifications
You must be signed in to change notification settings - Fork 23.5k
Add warning when node name is invalid (reverted) #112307
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
Add warning when node name is invalid (reverted) #112307
Conversation
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.
Makes sense to me. I'd try to stay close to the existing error message (from #112223), so I'd add some more context.
5cbd4f6 to
0d46d42
Compare
|
Thanks! |
|
This PR conflict with Line 1512 in 019889d
_validate_child_name use '@'. |
|
What do you mean by "it conflicts" with the code? |
I mean: |
|
How is this warning triggered? |
There is no detail infomation in these warnings, so it's hard to tell where is it come from. BTW, since we restrict on invalid node name characters, I think they should not use internal too. |
|
I'd suggest opening a bug report, but just adding a child doesn't cause the name to be set so this can't be all that's done in this case, I'd say that it might be that you're reassigning the name or something |
|
There might be other uses of Random example: |
|
I haven't tested any build with this PR, but the above concern is valid in my opinion. I think that should've been considered before merging this PR and I would personally revert this. |
Fixes #112223
At runtime, the engine will rename node names that contain invalid characters.
This PR adds a warning to be logged in that case to avoid user confusion.