Affects Version/s: 2.0-ALPHA4
Fix Version/s: 2.0-BETA1
Security Level: All
I have a Product, which has many (OneToMany collection) Pictures. Picture has a File (ManyToOne with cascade=
When I remove a picture from a product
doctrine removes picture, then cascade removes file, but file is not yet initialized. Doctrine tries to check entity state:
The getIdentifierValues method tries to take entity id through reflection, but id field is absent.
I think that the getEntityState method should support case when entity is instance of IProxy...