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

[VariableProductBundle] Only valid variants should be dispatched #1136

Merged
merged 1 commit into from
Feb 28, 2014

Conversation

akovalyov
Copy link
Contributor

In previous version the event was dispatched for all the variants which is not totally correct as if variant is not valid - it wouldn't be attached to product and saved, so calling the event dispatcher here is ineffective and can cause unpredictable bugs.

@stloyd stloyd added the Bug Fix label Feb 28, 2014
@stloyd stloyd added this to the 1.0.0-BETA1 milestone Feb 28, 2014
stloyd added a commit that referenced this pull request Feb 28, 2014
[VariableProductBundle] Only valid variants should be dispatched
@stloyd stloyd merged commit 7fbf000 into Sylius:master Feb 28, 2014
@stloyd
Copy link
Contributor

stloyd commented Feb 28, 2014

Sound correct, merged.

@pjedrzejewski
Copy link
Member

Correct indeed, thanks!

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.

3 participants