#1456: postDelete is run outside of the transaction on skipped events
-----------------------------------+----------------------------------------
 Reporter:  chorizo                |       Owner:  jwage
     Type:  defect                 |      Status:  new  
 Priority:  minor                  |   Milestone:       
Component:  Attributes             |     Version:  1.0  
 Keywords:                         |    Has_test:  0    
 Mystatus:  Pending Core Response  |   Has_patch:  0    
-----------------------------------+----------------------------------------
 When you skipEvent() in preDelete(), the postDelete() is run outside of
 the internal transaction, whereas when you don't skip the event, it is run
 inside the transaction.  It would be good if both were run inside the
 transaction so that you don't have to conditionally start a transaction in
 postDelete depending on if the event was skipped.

 I think this is just a reordering of these lines:
 
http://trac.phpdoctrine.org/browser/branches/1.0/lib/Doctrine/Connection/UnitOfWork.php#L278

-- 
Ticket URL: <http://trac.phpdoctrine.org/ticket/1456>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-svn" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to