question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

block-plus-minus plugin: field named "TEXT" not found in "text_join" block

See original GitHub issue

Category

  • Plugins

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:

field named "TEXT" not found in "text_join" block (id="|rQF{.!!]-+H=?7ai!O0")

The warning seems to be coming from here: https://github.com/google/blockly/blob/master/blocks/text.js#L682

To Reproduce

  1. Install @blockly/block-plus-minus

  2. Import @blockly/block-plus-minus

import '@blockly/block-plus-minus';
  1. Add text_join block to toolbox:
        {
          kind: 'block',
          type: 'text_join',
        },

Now load Blockly and drag the text_join block into the workspace.

Expected behavior

No warning should appear.

Screenshots

image

Additional context

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
BeksOmegacommented, May 10, 2022

@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 =)

1reaction
johnnyoshikacommented, May 10, 2022

@BeksOmega Given that this is only a warning, is it safe to deploy this to a live production environment?

Read more comments on GitHub >

github_iconTop Results From Across the Web

TEXTJOIN function - Microsoft Support
The TEXTJOIN function combines the text from multiple ranges and/or strings, and includes a delimiter you specify between each text value that will...
Read more >
Have You Got What it Text? Introducing ARRAYTOTEXT and ...
In the example below, Human is a Power BI Data Type that has no name field: The problem with TEXTJOIN persists. There are...
Read more >
Excel formula: Join first and last name - Got It AI
Excel allows us to join first and last name by using the TEXTJOIN or CONCATENATE functions. This step by step tutorial will assist...
Read more >
TEXTJOIN Function - Examples, How to Join Text in Excel
Let's take an example where we are given the name, surname, and date of anniversary in separate columns and we wish to join...
Read more >
TEXTJOIN function in Excel to merge text from multiple cells
Excel TEXTJOIN not working. When your TEXTJOIN formula results in an error, it's most likely to be one of the following: #NAME? error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found