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

[Core] Authenticate the user before saving it #1335

Merged
merged 1 commit into from
Apr 8, 2014

Conversation

winzou
Copy link
Contributor

@winzou winzou commented Apr 7, 2014

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? specs yes
Fixed tickets -
License MIT
Doc PR -

User was not authenticated, so the listener was not linking User and Order because it was using security context.

@winzou
Copy link
Contributor Author

winzou commented Apr 8, 2014

@pjedrzejewski can it be merged before components?

pjedrzejewski pushed a commit that referenced this pull request Apr 8, 2014
[Core] Authenticate the user before saving it
@pjedrzejewski pjedrzejewski merged commit 6cfcd25 into Sylius:master Apr 8, 2014
@pjedrzejewski
Copy link
Member

Done, thanks! I'll rebase the components branch.

@stloyd
Copy link
Contributor

stloyd commented Apr 8, 2014

@winzou "Tests pass? specs yes", I would say "bulls**t", they cannot pass as they not exists for this class =)

@winzou winzou deleted the fix/user branch April 8, 2014 13:32
@stloyd
Copy link
Contributor

stloyd commented Apr 8, 2014

@pjedrzejewski IMO this is not correct fix.

There is dispatched event for some reason, not just because it's nice, and that event should be handled by FOSUserBundle already, if it's not the bug is somewhere between those two.

winzou added a commit to winzou/Sylius that referenced this pull request Apr 9, 2014
lsmith77 pushed a commit to lsmith77/Sylius that referenced this pull request May 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants