altis-cms
altis-cms copied to clipboard
Links inside navigation blocks crash
Steps to reproduce:
- Open the (FSE) site editor (Appearance > Editor)
- Add a Navigation block to the header
- Select a new, empty menu for the block
- Insert custom links into the navigation block
- Either hit undo (Cmd/Ctrl-Z) or save and come back
The links should be editable, but instead display the generic Gutenberg block crashed error. In the console, an error from a call to .mapSelect is shown: An error occurred while running 'mapSelect': Cannot read properties of null (reading 'name')
No idea if this is from WP core or some problem with our additions.
Acceptance criteria:
- [ ] ...
Tried to replicate this on a non Altis install and I wasn't able to replicate this issue. So it appears to be related to our additions.