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

Fix CartBlamerListener without token #536

Merged
merged 3 commits into from
Sep 21, 2019

Conversation

alexander-schranz
Copy link
Contributor

Carts which are not created over the ShopApi have no tokenValue so if you try to login it will accidently try to assign a Cart which is not the one of the current value.

So a cart should only tried to be loaded when the $token is given to the api.

@alexander-schranz alexander-schranz requested a review from a team as a code owner September 16, 2019 16:30
Copy link
Member

@mamazu mamazu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution. Is there any way we can test this?

@mamazu mamazu added the Bug label Sep 16, 2019
@mamazu
Copy link
Member

mamazu commented Sep 21, 2019

Thanks, Alexander! 🥇

@mamazu mamazu merged commit dc8f1b4 into Sylius:master Sep 21, 2019
@alexander-schranz alexander-schranz deleted the bugfix/login-without-token branch September 21, 2019 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants