sfGuardUserProfile error

Questions relating to sfGuardPlugin or other user management plugins

sfGuardUserProfile error

Postby maesbn » Mon Aug 01, 2011 11:05 am

Hi


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.
maesbn
Junior Member
 
Posts: 1
Joined: Mon Aug 01, 2011 10:43 am

Re: sfGuardUserProfile error

Postby Mathias » Wed Aug 03, 2011 2:40 pm

I think stuff is case sensitive. You have user and User.
Mathias
Member
 
Posts: 85
Joined: Thu May 26, 2011 4:45 pm


Return to User management plugins

Who is online

Users browsing this forum: No registered users and 1 guest