Sylius/Sylius — pull request #1174 by winzou (2014-03-07 11:13:20+00:00)
Title: [Core] Move from preUpdate to onFlush

preUpdate event is actually not able to change relation, which is our
case with new InventoryUnit in relation with OrderItem. PreFlush allows
that.