Bug #36634

Reconstituted entities do not have their properties set when initializeObject() is called

Added by Christian Müller over 3 years ago.

Status:New Start date:2012-04-26
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-
PHP Version: Complexity:
Has patch:No Affected Flow version:Git master

Description

The doctrine proxy __load method seems to be never called, instead UnitOfWork::createEntity() uses UnitOfWork::newInstance() which basically clones our proxy class (which also means we generate an UUID and set the clone property) and after that just inserts the properties...

Also available in: Atom PDF