hi everyone,

I have an error in my fixtures files when i'm trying to import data. I
have two files, 100_vehicules_types and 200_vehicules :

VehicleType:
  Moto:
    name: moto
  Scooter:
    name: scooter
  Car:
    name: car
  MP3:
    name: mp3

Vehicle:
<?php for($i = 1 ; $i < 5; $i++): ?>
  moto_<?php echo $i ?>:
    type_id: Moto
    name: moto<?php echo $i."\n" ?>
    be_service: true
  scooter_<?php echo $i ?>:
    type_id: Scooter
    name: scooter<?php echo $i."\n" ?>
    be_service: true
  voiture_<?php echo $i ?>:
    type_id: Car
    name: car<?php echo $i."\n" ?>
    be_service: true
  mp3_<?php echo $i ?>:
    type_id: MP3
    name: mp3<?php echo $i."\n" ?>
    be_service: true
<?php endfor; ?>

but the thing is that it works when I replace the type_id content with
the real id of the vehicule type..
any ideas ?

thanks a lot

-- 
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

Reply via email to