BitBagCommerce / SyliusCmsPlugin

Content management system for eCommerce apps created on Sylius platform. Built with Sylius code quality, flexibility, BDD.
MIT License
233 stars 158 forks source link

Error: Requested page is invalid. #58

Closed maxby closed 6 years ago

maxby commented 6 years ago

When I change path pattern for product's taxon - plugin is crashing( Step to reproduce:

  1. Open file #sylius/src/Sylius/Bundle/ShopBundle/Resources/config/routing/product.yml
  2. Change default path pattern from "path: /taxons/{slug}" to "path: /{slug}"
  3. Profit( On admin side and front error is same
maxby commented 6 years ago

I found solution. You need insert plugin route before sylius_shop in file #sylius/app/config/routing.yml

bitbager commented 6 years ago

Looks like you customized your instance to have two routes that request two different controllers 🙂