#4499: integrity error silently failing
------------------------------------------------+---------------------------
   Reporter:  [EMAIL PROTECTED]                   |                Owner:  
adrian          
     Status:  reopened                          |            Component:  
Database wrapper
    Version:  SVN                               |           Resolution:         
         
   Keywords:  save integrity  operationalError  |                Stage:  
Unreviewed      
  Has_patch:  0                                 |           Needs_docs:  0      
         
Needs_tests:  0                                 |   Needs_better_patch:  0      
         
------------------------------------------------+---------------------------
Changes (by [EMAIL PROTECTED]):

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

Comment:

 My understanding of object.save() is that if I'm not managing directly the
 transaction,
 the commit happens as a last step of .save(), just before signal
 dispatching. Moreover the database
 logs the error that makes me think it already has found the error.
 
 Anyhow I realized the error when I realized that no data where saved and
 no error
 where raised, so there is no such a *later* raise of the error.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4499#comment:3>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to