Thanks. We'll need to throw an exception or something if you use a non-unique key name. They must be unique in order for it to work properly.
- Jon On Tue, Oct 27, 2009 at 1:26 PM, david <da...@inspiredthinking.co.uk> wrote: > > 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 > > > > -- Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer & Evangelist sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org You can contact Jonathan about Doctrine, Symfony and Open-Source or for training, consulting, application development, or business related questions at jonathan.w...@sensio.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---