#10215: Dont rollback transaction on errors in management/loaddata in 
"non-commit"
mode.
-------------------------------------+--------------------------------------
          Reporter:  MockSoul        |         Owner:  nobody  
            Status:  new             |     Milestone:  post-1.0
         Component:  Core framework  |       Version:  SVN     
        Resolution:                  |      Keywords:          
             Stage:  Unreviewed      |     Has_patch:  1       
        Needs_docs:  0               |   Needs_tests:  1       
Needs_better_patch:  0               |  
-------------------------------------+--------------------------------------
Comment (by MockSoul):

 0. Start transaction
  1. Create something in db
  2. Call loaddata with commit=False (in try..except block -- we can have
 possible error and we know that)
  3. Got an error while loaddata
  4. Ooops.. loaddata rollbacks whole transaction, thus my changes in 1st
 step are gone
  5. grrrrr.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10215#comment:2>
Django <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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to