You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The product form allows setting a slug with a slash, but when I save the product, I get the following error :
An exception has been thrown during the rendering of a template ("Parameter "slug" for route "sylius_shop_product_show" must match "[^/]++" ("my-product/with-slash" given) to generate a corresponding URL.").
The feature features/sylius/product/managing_products/adding_product.feature contains two scenarios with a slash in slug but it doesn't fail because the "view in shop" button is inactive.
Steps to reproduce
Create an enabled product with a slug that contains a slash.
Possible Solution
Forbid slash in slug ?
The text was updated successfully, but these errors were encountered:
Hello @notFloran , your proposal is valid. However, due to conflicting priorities, we will consider implementing the solution for your proposal later. However, if you'd like to try your hand at proposing the solution, it would be helpful. 🕺
Sylius version affected: 1.12.14
Description
The product form allows setting a slug with a slash, but when I save the product, I get the following error :
The feature
features/sylius/product/managing_products/adding_product.feature
contains two scenarios with a slash in slug but it doesn't fail because the "view in shop" button is inactive.Steps to reproduce
Create an enabled product with a slug that contains a slash.
Possible Solution
Forbid slash in slug ?
The text was updated successfully, but these errors were encountered: