Closed gplanchat closed 5 years ago
@gplanchat can you please describe the problem this should solve?
It is related to this thread in Slack, discussed with @anyt and @manowark : https://orocommunity.slack.com/archives/C11N61D1U/p1551436163008100
Can't reproduce on local environment with latest master.
All route with oro_*
prefix exposed automatically by next configuration https://github.com/oroinc/orocommerce-application/blob/master/config/config.yml#L74-L78.
Could you please explain how I can reproduce your behavior?
Closed as no clear steps to reproduce were provided and we can't reproduce it on the latest master. Feel free to reopen when you hit the bug again with an explicit STR.
The public/media/js/frontend_routes.js was not providing every routes, I was facing an almost empty routing list and a JS routing error.
After digging into the code, the
Oro\Bundle\FrontendBundle\Extractor\FrontendExposedRoutesExtractor::isRouteExposed()
wasn't exposing routes having afrontend: true
without also having anexposed: true
route option, which resulted in JS routing errors.