symfony doctrine data-dump and reload wont't work

leelaprasad

New Member
I have a database built by Doctrine from schema.yml which I want to modify. Thus, first I saved the data using doctrine:data-dump command. Afterwards I wanted to check if it really can reload data, so I called the doctrine:build --all --and-load command.It successfully rebuilt the database, however when loading data from data1.yml file(where I saved beforehand) it gives me the following error:\[quote\] Couldn't call Doctrine_Core::set(), second argument should be an instance of Doctrine_Collection when setting one-to-many references.\[/quote\]I would really appreciate if you guys could help me fix this problem.
 
Back
Top