Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cart Blamer service name #639

Open
arnaudroulee opened this issue Feb 28, 2020 · 1 comment
Open

Cart Blamer service name #639

arnaudroulee opened this issue Feb 28, 2020 · 1 comment

Comments

@arnaudroulee
Copy link

arnaudroulee commented Feb 28, 2020

Service 'sylius.listener.cart_blamer' replace cart blamer of SyliusCoreBundle, so it removes events 'sylius.user.security.implicit_login' and 'security.interactive_login'.

<service id="sylius.listener.cart_blamer" class="Sylius\Bundle\CoreBundle\EventListener\CartBlamerListener">
    <argument type="service" id="sylius.manager.order" />
    <argument type="service" id="sylius.context.cart" />
    <tag name="kernel.event_listener" event="sylius.user.security.implicit_login" method="onImplicitLogin" />
    <tag name="kernel.event_listener" event="security.interactive_login" method="onInteractiveLogin" />
</service>

If we use Sylius has a standard shop with both SyliusShopBundle (main shop) and ShopApiPlugin (external call from landing pages for example), it breaks EventListener of SyliusShopBundle.

Each CartBlamer should work together.

@mamazu
Copy link
Member

mamazu commented Feb 28, 2020

That's a known problem and the reason why the documentation says that the two modules are not working together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants