Hi, I have a big schema, and I needed to add a new Table, so I did, while I am testing, I dumped my DB to a fixture and it works well, but when I try to load it back, it gives me this error:
Couldn't call Doctrine_Core::set(), second argument should be an instance of Doctrine_Collection when setting one-to-many references. Going back to the data.yml I delete the newly created record and try importing, and it works. I've isolated the problem to this: The original dump that doesnt work looks like this: Keyword: Keyword_1: Organization: Organization_2 keyword: KW1 However if I change it to the following, it works: Keyword: Keyword_1: organization_id: 2 keyword: KW1 But, this doesn't make sense.. the way doctrine exported it..should work.. not only that.. I have other places in the dump where it works fine: Campaign: Campaign_1: Organization: Organization_2 name: 'Special Sale' description: 'Special Sale Offer' So, why is this not working? please help. Schema: http://pastebin.com/TjmkVDUM Fixture: http://pastebin.com/PujWtqNJ Thank you. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.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