Try:

sfGuardUserGroup:
 sfGuardUserGroup_admin_admin:
   User: sfGuardUser_admin
   Group: sfGuardGroup_admin

On Wed, May 12, 2010 at 6:14 AM, Etienne <etienne.mic...@gmail.com> wrote:
> Hey everyone,
> I've a problem while loading a set of fixture in my project. When I
> run the command "./symfony doctrine:data-load", it doesn't work and
> displays the following error:
> Unknown record property / related component "sfguarduser" on
> "sfGuardUserGroup"
>
> But when I run the command "./symfony doctrine:build --all --and-load
> --no-confirmation", it does work... and I can't understand the
> difference between these two commands.
>
> The schema is the same as in the plugin :
> http://trac.symfony-project.org/browser/plugins/sfDoctrineGuardPlugin/trunk/config/doctrine/schema.yml
> And the fixtures are:
> sfGuardUser:
>  sfGuardUser_admin:
>    username: admin
>    password: admin
>    is_active: '1'
>    is_super_admin: '1'
>
> sfGuardGroup:
>  sfGuardGroup_admin:
>    name: Admin
>    description: Blablou
>
> sfGuardUserGroup:
>  sfGuardUserGroup_admin_admin:
>    sfGuardUser: sfGuardUser_admin
>    sfGuardGroup: sfGuardGroup_admin
>
>
> Can anybody help me to figure this out?
>
> Thanks
>
> --
> 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
>

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