What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
is there some special routing rules added somewhere in Zed in latest `suite` ? I have a controller
is there some special routing rules added somewhere in Zed in latest suite
? I have a controller at\Spryker\Zed\VsBridge\Communication\Controller\AuthController::adminAction
which worked before the update but now fails with
Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for "POST /vs-bridge/auth/admin" in file /data/shop/development/current/vendor/symfony/http-kernel/EventListener/RouterListener.php on line 136 Caused by Symfony\Component\Routing\Exception\ResourceNotFoundException: None of the routers in the chain matched this request (...) n file /data/shop/development/current/vendor/symfony-cmf/routing/src/ChainRouter.php on line 210 Stack trace: 1. Symfony\Component\HttpKernel\Exception\NotFoundHttpException->() /data/shop/development/current/vendor/symfony/http-kernel/EventListener/RouterListener.php:136 2. Symfony\Component\Routing\Exception\ResourceNotFoundException->() /data/shop/development/current/vendor/symfony-cmf/routing/src/ChainRouter.php:210 3. Symfony\Cmf\Component\Routing\ChainRouter->doMatch() /data/shop/development/current/vendor/symfony-cmf/routing/src/ChainRouter.php:158 4. Symfony\Cmf\Component\Routing\ChainRouter->matchRequest() /data/shop/development/current/vendor/symfony/http-kernel/EventListener/RouterListener.php:112 5. Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest() /data/shop/development/current/vendor/symfony/event-dispatcher/EventDispatcher.php:264 6. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() /data/shop/development/current/vendor/symfony/event-dispatcher/EventDispatcher.php:239 7. Symfony\Component\EventDispatcher\EventDispatcher->callListeners() /data/shop/development/current/vendor/symfony/event-dispatcher/EventDispatcher.php:73 8. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /data/shop/development/current/vendor/symfony/http-kernel/HttpKernel.php:122 9. Symfony\Component\HttpKernel\HttpKernel->handleRaw() /data/shop/development/current/vendor/symfony/http-kernel/HttpKernel.php:68 10. Symfony\Component\HttpKernel\HttpKernel->handle() /data/shop/development/current/vendor/spryker/application/src/Spryker/Shared/Application/Application.php:122 11. Spryker\Shared\Application\Application->handle() /data/shop/development/current/vendor/spryker/application/src/Spryker/Shared/Application/Application.php:103 12. Spryker\Shared\Application\Application->run() /data/shop/development/current/public/Zed/index.php:22
nothing helpful at https://documentation.spryker.com/docs/zed-controllers-actions, though
Comments
-
So if you are using new router, all namespaces that router search for controller placed in the
Spryker\Zed\Router\RouterConfig::getControllerDirectories()
method.
0 -
Do you have βSprykerβ as a project level namespace?
0 -
or this controller is not on the project level?
0 -
it's in vendor package, but still has spryker namespace, one of the things on my TODO π
0 -
So my guess is to check that method that I sent you and extend it in order to look into your directory
0 -
yes, that was it, thank you so much! π
0 -
is there any doc on this Router ?
0 -
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random