[PHPCR-63] event system: prePersist and postPersist Created: 11/Apr/12  Updated: 22/May/12  Resolved: 22/May/12

Status: Closed
Project: Doctrine PHPCR
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: David Buchmann Assignee: Lukas Kahwe
Resolution: Fixed Votes: 0
Labels: None


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

Generated at Thu Oct 08 21:35:12 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.