Hello folks,
I have a problem with the inheritance of Doctrine within my fixtures.yml file of Symfony.
Imagine the following:
NewsAuthor:
inheritance:
extends: sfGuardUser
type: simple
Now I want to declare the default guard user User_admin of the fixtures file of the sfDoctrineGuardPlugin to be the author of the first dummy article of my News model. But how to do this?
I tried the following:
NewsAuthor:
AuthorAdmin:
sfGuardUser: User_admin
But then I get this error of the doctrine:data-load task:
Unknown record property / related component "sfguarduser" on "NewsAuthor"
I use Symfony 1.4.8 with Doctrine 1.2.3.
Thank you in anticipation,
Lemmi