Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links inside navigation blocks crash #577

Open
1 task
rmccue opened this issue Apr 27, 2022 · 1 comment
Open
1 task

Links inside navigation blocks crash #577

rmccue opened this issue Apr 27, 2022 · 1 comment
Labels
bug Existing functionality isn't behaving as expected

Comments

@rmccue
Copy link
Member

rmccue commented Apr 27, 2022

Steps to reproduce:

  1. Open the (FSE) site editor (Appearance > Editor)
  2. Add a Navigation block to the header
  3. Select a new, empty menu for the block
  4. Insert custom links into the navigation block
  5. 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:

  • ...
@rmccue rmccue added the bug Existing functionality isn't behaving as expected label Apr 27, 2022
@robindevitt
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing functionality isn't behaving as expected
Projects
None yet
Development

No branches or pull requests

2 participants