Just an fyi - there appears to be a small issue with Doctrine 1.2 when  
loading fixtures when child labels are reused.
You'll get an unrelated error message that might lead you down the wrong  
path (in my case a null field error).
In earlier versions of Doctrine the fixtures loaded without problems.

Making the nested labels unique in the fixtures file bypasses the issue  
(ie invItem01, etc).

An example of a fixture fragment that will cause the problem:

Invoice:
   testInvoice01:
   billingDate: "2009-11-11"
   dueDate: "2009-11-16"
   owningAccount: TestAcc01
   invoiceItems:
     invItem01:
       name: TestLine01
       quantity: 2
       cost: 12.99
     invItem02:
       name: TestLine02
       quantity: 1
       cost: -2.50

   testInvoice02:
     billingDate: "2009-11-11"
     dueDate: "2009-11-21"
     owningAccount: TestAcc01
     invoiceItems:
       invItem01:
         name: TestLine03
         quantity: 2
         cost: 12.99
       invItem02:
         name: TestLine04
         quantity: 1
         cost: -2.50

Doctrine Bug Tracking Reference:  
http://www.doctrine-project.org/jira/browse/DC-147

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to