Sylius/Sylius — pull request #1136 by akovalyov (2014-02-28 12:41:33+00:00)
Title: [VariableProductBundle] Only valid variants should be dispatched

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.