Hello,
I'm using SyliusFlowBundle. I want to do a "flow" with a route like:
/{productId}/flow/step1,
/{productId}/flow/step2 ...
My routing:
esr_cart_path_start:
pattern: /{productId}/
defaults: { _controller: sylius.controller.process:startAction, scenarioAlias: 'esr_cart_path' }
esr_cart_path_display:
pattern: /{productId}/{stepName}
defaults: { _controller: sylius.controller.process:displayAction, scenarioAlias: 'esr_cart_path' }
esr_cart_path_forward:
pattern: /{productId}/{stepName}/forward
defaults: { _controller: sylius.controller.process:forwardAction, scenarioAlias: 'esr_cart_path' }
When I submit the first step, I have an error saying "Some mandatory parameters are missing ("productId") to generate a URL for route "esr_cart_path_display".
I can't define some paramters to inject in the "esr_cart_path_display" route is generated for the next step (or I don't know how...)
Any hint please ?