#9227: The modeltests/serializer unit test case fails due to missing author 
record
with id=4
--------------------------------------------------------+-------------------
          Reporter:  egenix_viktor <[EMAIL PROTECTED]>  |         Owner:  
nobody                                         
            Status:  closed                             |     Milestone:        
                                         
         Component:  Database layer (models, ORM)       |       Version:  1.0   
                                         
        Resolution:  invalid                            |      Keywords:  unit 
test foreign key constraint IntegrityError
             Stage:  Unreviewed                         |     Has_patch:  0     
                                         
        Needs_docs:  0                                  |   Needs_tests:  0     
                                         
Needs_better_patch:  0                                  |  
--------------------------------------------------------+-------------------
Changes (by russellm):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => invalid
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 This is a known problem with the MySQL database backend when using InnoDB
 tables. For some reason, InnoDB can't defer row referential integrity
 checks to the end of a transaction boundary, so you can't insert a forward
 reference. This test case works fine under Oracle and Postgres, which both
 implement row referential integrity properly.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9227#comment:1>
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 [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