Comments (1)
It seems like the routeNameResolver uses a pathPrefixProvider which isn't flexible enough to pass arguments and resolve on shop. Only the cachedRouteNameResolver implementation allows a "section" in $context argument.
Further dig, using the CachedRouteNameResolver with this data
It gives you an admin path, the prefix passed in context isn't used in the decorated class and you can't get a shop route using them AFAIK
from sylius.
Related Issues (20)
- Fresh install with Docker setup, upload new image in admin 404 not found HOT 2
- \Sylius\Bundle\ResourceBundle\Controller\ControllerTrait::addFlash throw error on Sylius 1.12 HOT 17
- Symfony 7 support HOT 3
- [Shop] Cart page breaks styling on invalid coupon submit HOT 1
- Add default repository classes
- [Potential Issue] update cart lead to order id appears in url HOT 3
- [Issue] Too many database calls during warmup cache
- DefaultProductVariantResolver is not getting the first positioned variant
- Flash messages can't be added from Ajax requests HOT 1
- Unable to apply promotions
- How do you make an existing Sylius resource translatable?
- Console error with symfony 6.4 HOT 5
- Addresses created with shop endpoint do not bind customer HOT 4
- Localized datetime depending of browser or logged in admin HOT 2
- Cannot apply multiple taxes on a product HOT 8
- [ADMIN][UI] Administrator form display issue HOT 2
- Bug with docker, chmod required for public directory
- Add a new rule to promotion HOT 2
- Base_currency_id cannot be null when creating a new channel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sylius.