Bug #36634

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

Added by Christian Mueller about 1 year ago.

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

0%

Category:-
Target version:-
PHP Version: Complexity:
Has patch:No FLOW3 version affected:Git master
Votes: 0

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