Blockly Developer Tools Errors

82 views
Skip to first unread message

Aunt Su

unread,
Apr 7, 2023, 11:51:36 PM4/7/23
to Blockly
Hello! Have you encountered this problem?
In Blockly Developer Tools, when selecting a saved block from the Block Library, an error occurs: block name already exists.
blockfactory.png

Workspace Save Share Link 

Github issue

Reproduction steps
Blockly > Demos > Blockly Developer Tools
https://blockly-demo.appspot.com/static/demos/blockfactory/index.html

Change the default `name [block_type]` to `name [block_test]`
  • Save "block_test"
  • F5 refresh the webpage

Click on "Block Library" and select "block_test".
  • Dialog Box: `You have unsaved changes. By proceeding without saving  your block first, you will lose these changes.`
  • YES!
Console error:
You can't make a block called block_test in this tool because that name already exists.
warnExistingBlock @ factory.js:


  • And Preview: cannot display preview.
  • but if you change  "block_test" to "block_test_1", the preview will be display.
  • Show blue warning icon name conflict

In summary: 
even if you select a saved block from the "Block Library", the program considers it to be a duplicate of the "NAME". The preview cannot be displayed.


Neil Fraser

unread,
Apr 10, 2023, 10:00:47 AM4/10/23
to blo...@googlegroups.com
Confirming.  The Blockly Dev Tools are nearly non-functional at this point.  Here's the bug:
I'll take a look at this later this week.

--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/45597cb8-9a36-46ac-bec9-579240732577n%40googlegroups.com.


--
Neil Fraser, Switzerland
https://neil.fraser.name
Reply all
Reply to author
Forward
0 new messages