Doctrine 2 - ORM

ORM\UnitOfWork::getEntityState() crash when using a new Entity with association composite key