recently I'm getting this error when i build (symfony doctrine:build --all --and-load --no-confirmation) my project:
Unknown record property / related component "user" on "sfGuardUserProfile"
The error occurs when symfony tries to load the fixtures.
In my .yml files the relation between the sfGuardUser and the sfGuardUserProfile is set like this:
- Code: Select all
relations:
User:
class: sfGuardUser
foreign: id
local: user_id
type: one
onDelete: cascade
foreignType: one
foreignAlias: Profile
I noticed that symfony doesn't use my 40_users.yml file from the directory"config/doctrine" anymore to create the database. But I don't seem to find what other file he would be using to create the sfGuardUserProfile-table.
He does create the table but when i alter a field, it doesn't change on the build.
Which other files (beside the files in the config/doctrine directory) does symfony use when creating the database on the build?
Thanks
B.
