-
Notifications
You must be signed in to change notification settings - Fork 625
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
block-plus-minus plugin: field named "TEXT" not found in "text_join" block #1134
Comments
I forgot to list the versions of packages I'm using:
|
Thank you for reporting this :D Can reproduce! This doesn't seem to be JSON specific, but happens whenever the block is deserialized (from XML or JSON). |
@BeksOmega Given that this is only a warning, is it safe to deploy this to a live production environment? |
@johnnyoshika yeah it should be fine =) The issue is that in core, we mix the quoting functionality directly into the text_create_with block, while in the plus/minus plugin we apply the extension. This means that on the plus/minus block we trigger quoting, but in core we do not. If you look at the quoteField_ definition, it doesn't do anything unless it actually finds a matching field. So the warning just means "hey I didn't do anything". So I think it should be fine to put in production, but definitely double check my logic for yourself =) |
@BeksOmega Awesome, thanks so much for your input! |
Category
Component
block-plus-minus
Describe the bug
block-plus-minus plugin, when used with Blockly 8.0.1 and the
text_join
block results in this warning in the console:The warning seems to be coming from here:
https://github.com/google/blockly/blob/master/blocks/text.js#L682
To Reproduce
Install
@blockly/block-plus-minus
Import
@blockly/block-plus-minus
text_join
block to toolbox:Now load Blockly and drag the
text_join
block into the workspace.Expected behavior
No warning should appear.
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: