Closed baiiko closed 2 years ago
Hello ! Thanks for the PR. I'm not sure to understand your problem, what do you want to fix with that PR. I did try your branch on my local env and it doesn't fix anything unfortunatly :disappointed: . But if i understand, the BO can't work cause of a route name ? If so, i think you can fix it by adding the following configuration in your route file
sylius_gdpr_controllers:
resource: '@SynoliaSyliusGDPRPlugin/Resources/config/routes/admin/gdpr.yaml'
prefix: 'gdpr/'
name_prefix: 'sylius_gdpr_'
It seems we made a mistake in the README. It says you should add
synolia_gdpr:
resource: "@SynoliaSyliusGDPRPlugin/Resources/config/routes/admin/gdpr.yaml"
prefix: '/%sylius_admin.path_name%'
But it can't work like that. You need to add the name prefix and prefix like in my last comment. I'll make a PR about it ! :smile:
Hello ! Thanks for the PR. I'm not sure to understand your problem, what do you want to fix with that PR. I did try your branch on my local env and it doesn't fix anything unfortunatly disappointed . But if i understand, the BO can't work cause of a route name ? If so, i think you can fix it by adding the following configuration in your route file
sylius_gdpr_controllers: resource: '@SynoliaSyliusGDPRPlugin/Resources/config/routes/admin/gdpr.yaml' prefix: 'gdpr/' name_prefix: 'sylius_gdpr_'
Hey, because your menu use : https://github.com/synolia/SyliusGDPRPlugin/blob/06c991419ba6019d5292cf0cc1653673d4829308/src/Menu/GDPRMenuListener.php
And this route does not exists :)
Unknown route by default