[PHPCR-63] event system: prePersist and postPersist Created: 11/Apr/12 Updated: 22/May/12 Resolved: 22/May/12
|Reporter:||David Buchmann||Assignee:||Lukas Kahwe|
according to http://docs.doctrine-project.org/projects/doctrine-orm/en/2.1/reference/events.html#prepersist the persist event is only triggered when persisting a new entity/document. but currently the phpcr-odm uow triggers it during the flush operation.
we have to go over the event system and clean that up.
|Comment by Lukas Kahwe [ 12/Apr/12 ]|
hmm looking at the UoW code .. i don't see how this is possible:
|Comment by David Buchmann [ 22/May/12 ]|
strange. maybe i was looking at outdated code