It might be a case-sensitivity issue - you have lowercase ("venue",
"home" and "away") in your relations section of your schema, but the
first letter capitalised ("Venue", "Home", "Away") in your fixtures.

On Dec 17, 12:05 pm, mattvick <vickery.matt...@gmail.com> wrote:
> Symfony 1.4
> PHP 5.2.9
> MySQL 5.0.81
>
> I'm having exactly the same issue but the posted solution isn't
> working for me.
>
> schema.yml:
>
> Schedule:
>   columns:
>     kickoff:
>       type: timestamp
>       notnull: true
>     venue_id:
>       type: integer(4)
>     home_id:
>       type: integer(4)
>     away_id:
>       type: integer(4)
>   relations:
>     venue:
>       class: venue
>       local: venue_id
>       foreign: id
>       foreignAlias: schedules
>     home:
>       class: team
>       local: home_id
>       foreign: id
>       foreignAlias: schedules
>     away:
>       class: team
>       local: away_id
>       foreign: id
>       foreignAlias: schedules
>
> fixtures.yml:
>
> Schedule:
>   Match_1:
>     kickoff: '2010-06-11 16:00:00'
>     Venue: Venue_2
>     Home: Team_1
>     Away: Team_2
>
> symfony doctrine:build --all --and-load   Error message:
>
> Unknown record property / related component "home" on "Schedule"
>
> Does anyone know where I'm going wrong?

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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