i would assume it's the database relations, do you use the same database on windows and ubuntu?
On 13 October 2010 15:34, Benjamin <[email protected]> wrote: > Hello, > I have a schema with a nested set behaviour likes this: > > MName: > columns: > name: { type: string(45)} > > MValue: > actAs: > NestedSet: > hasManyRoots: true > rootColumnName: root_id > columns: > value: { type: string(45) } > mname_id: { type: integer } > relations: > MName: { local: mname_id, foreign: id } > > Now I wrote a fixture yaml file: > > MName: > damages: { name: Damages } > > MValue: > NestedSet: true > damageslv1_1: > value: plane > MName: damages > children: > damageslv2_1_1: > value: fire damage > MName: damages > children: > damageslv3_1_1: > value: engine > MName: damages > damageslv3_1_2: > value: wing > MasterdataName: damages > > When I call doctrine::data-load, I get the following error message: > Catchable fatal error: Argument 2 passed to > Doctrine_Data_Import::_hasNaturalNestedSetFormat() must be an array, > null given, called in ...symfony\lib\plugins\sfDoctrinePlugin\lib > \vendor\doctrine\Doctrine\Data\Import.php on line 307 and defined > in ...symfony\lib\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine > \Data\Import.php on line 272 > > I have two development system, one on windows and one on ubuntu, both > with symfony 1.4.8. The messages are on both systems the same, but on > ubuntu the data is load into my mysql database despite this fatal > error. So I guess my fixture.yml file is valid. What else can be the > problem? > > -- > 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-users%[email protected]> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
