#1386: Deleted records are re-inserted on unitOfWork->saveAll()
-----------------------+----------------------------------------------------
  Reporter:  tetikr    |       Owner:  romanb               
      Type:  defect    |      Status:  closed               
  Priority:  critical  |   Milestone:  Unknown              
 Component:  Record    |     Version:  1.0                  
Resolution:  invalid   |    Keywords:                       
  Has_test:  0         |    Mystatus:  Pending Core Response
 Has_patch:  0         |  
-----------------------+----------------------------------------------------
Changes (by romanb):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 This is intended behavior. When you delete a record you delete it's
 persistent state, the in-memory record remains the same (just different
 state). When you re-save the record, as happens in saveAll() you tell
 doctrine to persist its state again.

-- 
Ticket URL: <http://trac.doctrine-project.org/ticket/1386#comment:1>
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