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

Navigation block updates the wrong navigation entity record #36862

Closed
adamziel opened this issue Nov 25, 2021 · 0 comments · Fixed by #36880
Closed

Navigation block updates the wrong navigation entity record #36862

adamziel opened this issue Nov 25, 2021 · 0 comments · Fixed by #36880
Labels
[Block] Navigation Affects the Navigation Block [Type] Bug An existing feature does not function as intended

Comments

@adamziel
Copy link
Contributor

adamziel commented Nov 25, 2021

Description

  • Delete all menus.
  • Site Editor.
  • Create Nav block and create a Menu adding 1 item.
  • Save.
  • Go back to Nav block and Select menu -> Create new.
  • Add some items to this new Menu.
  • Save.
  • Notice how both menus are now marked as dirty.
  • Saving causes the original / first menu to loose all its items.

Found by @getdave in #36828 (review)

@adamziel adamziel added the [Block] Navigation Affects the Navigation Block label Nov 25, 2021
@adamziel adamziel added this to 📥 To do in WordPress 5.9 Must-Haves via automation Nov 25, 2021
@getdave getdave added the [Type] Bug An existing feature does not function as intended label Nov 25, 2021
WordPress 5.9 Must-Haves automation moved this from 📥 To do to ✅ Done Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Affects the Navigation Block [Type] Bug An existing feature does not function as intended
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants