-
-
Notifications
You must be signed in to change notification settings - Fork 19
Description
There is inconsistency in cms page slug usage.
Admin interface allows slash usage in page slug (like in taxon) which is nice and useful, especially if used in collection.
But if I create a page with slash in the slug ("articles/article1"), page collection rendering crashed with an error:
An error occurred during rendering the "content_elements" hook in the "sylius_cms.shop.page.show.content.body" hookable. An exception has been thrown during the rendering of a template ("Parameter "slug" for route "sylius_cms_shop_page_show" must match "[^/]++" ("articles/article1" given) to generate a corresponding URL.") in @SyliusCmsPlugin/shop/content_element/elements/pages_collection.html.twig at line 18 in @SyliusCmsPlugin/shop/content_element/elements/pages_collection.html.twig at line 18.