Description
I'm not sure if this issue is more related to the SyliusMenuPlugin plugin, or the CmsPages plugin.
I noticed that when you create a page with the CmsPages plugin and dont assign the page too a channel(s), the page gets rendered in the menu created by the CmsMenus plugin. If you click on the page, it returns a exception that the route for the specific page cant be found.
Steps to Reproduce
- Create a menu
- Create a page
- dont assign the page too a channel and save
- go to the shop frontend and click on the link too the page.
IMO the menu should only display pages that are also assigned to one, or more channels.
Package Versions:
Sylius: 2.1.7
CmsPages version: latest
CmsMenus version: latest