Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Clicking on NavTree Block Library clears BlockEditor #297

Open
AnmAtAnm opened this issue Feb 2, 2018 · 3 comments
Open

Clicking on NavTree Block Library clears BlockEditor #297

AnmAtAnm opened this issue Feb 2, 2018 · 3 comments

Comments

@AnmAtAnm
Copy link
Contributor

AnmAtAnm commented Feb 2, 2018

Expected:

  • Clicking a block library in the NavTree should not have any effect in the active editor.

Observed:

  • Clicking a block library node will clear the BlockEditor workspace, which causes the following exception:
Uncaught TypeError: Cannot read property 'getFieldValue' of null
@zm4341
Copy link

zm4341 commented Feb 24, 2018

I have the same problem.

Are you fixed?

@AnmAtAnm
Copy link
Contributor Author

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.

@google google deleted a comment from zm4341 Feb 27, 2018
@AnmAtAnm
Copy link
Contributor Author

AnmAtAnm commented Mar 7, 2018

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 4d26d96

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
2019 Release
  
To Do
Development

No branches or pull requests

2 participants