Sylius/SyliusAssortmentBundle — pull request #42 by netounet (2012-08-14 08:08:31+00:00)
Title: Fix collection management in entities

As setProduct method expect a ProductInterface object, you cannot detach property or variant by doing a setProduct(null). To fix this issue, i had a detachFromProduct method to each entity and change the removeXxx method to trigger the new method instead of calling setProduct(null).