google / blockly-devtools

Tools for Blockly app developers to help build custom blocks.
http://developer.google.com/blockly
Apache License 2.0
60 stars 31 forks source link

Clicking on NavTree Block Library clears BlockEditor #297

Open AnmAtAnm opened 6 years ago

AnmAtAnm commented 6 years ago

Expected:

Observed:

Uncaught TypeError: Cannot read property 'getFieldValue' of null
zm4341 commented 6 years ago

I have the same problem.

Are you fixed?

AnmAtAnm commented 6 years ago

Sorry. I haven't fixed this one, but working towards it (juggling lots of projects right now).

For what it is worth, I don't consider this project release ready, yet. Hence the lack of announcement. Feel free to file bugs (and pull requests, maybe?) if you find it more useful than the current Developer Tools.

AnmAtAnm commented 6 years ago

The root issue stacktrace appears to be:

chrome-extension://ihlmgmhlghhhacdmnkflmddmgodfaoll/src/view/navigation_tree.js:372
      throw 'Name of resource associated with node element is null or empty. ID' +
      ^

This thrown error prevents the editable workspace from initializing, and all references to the BlockEditorController rootEditorBlock fail with Cannot read property '___' of null

This broke in 4d26d9681655e814d642bc48b5c70da4b80680d3