Hi ,
i am getting following error on editing Club record
Unknown record property / related component "Facilitators" on
"Club"
i have pasted the schema , the idea is basically a club can have
multiple memebers and facilitators ,
both members and facilitators are referencing same model Member
Please tell me what im doing wrong and how to fix it..
Member:
columns:
name: { type: string(255), notnull: true, unique: false }
product_services: { type: clob, notnull: false, unique: false,
extra: markdown }
company: { type: string(255), notnull: true, unique: false }
image: { type: integer, notnull: true, unique: false }
email: { type: string(255), notnull: true, unique: false }
website: { type: string(255), notnull: true, unique: false }
member_type: { type: enum, values: ['Core Expert','Networker'] }
phone_work: { type: string(255), notnull: true, unique: false }
phone_mobile: { type: string(255), notnull: true, unique: false }
admin_notes: { type: clob, notnull: false, unique: false, extra:
markdown }
membership_status: { type: boolean, notnull: false, default:
false }
is_visible: { type: boolean, notnull: false, default: false }
Sponsor:
actAs: { Timestampable: ~ }
columns:
name: { type: string(255), notnull: true, unique: false }
logo: { type: integer, notnull: true }
notes: { type: clob, notnull: false, unique: false }
is_visible: { type: boolean, notnull: true, default: true }
Venue:
actAs: { Timestampable: ~ }
columns:
name: { type: string(255), notnull: true, unique: false }
venue_image: { type: string(255) }
venue_map: { type: string(255), notnull: false }
venue_notes: { type: clob, notnull: false, unique: false, extra:
markdown }
is_visible: { type: boolean, notnull: true, default: true }
#Club Management
Club:
actAs: { Timestampable: ~ }
columns:
name: { type: string(255), notnull: true, unique: false }
club_notes: { type: clob, notnull: false, unique: false }
is_visible: { type: boolean, notnull: true, default: true }
relations:
Members:
foreignAlias: Clubs
class: Member
refClass: ClubMember
Facilitators:
foreignAlias: Clubs
class: Member
refClass: ClubFacilitator
Sponsors:
foreignAlias: Clubs
class: Sponsor
refClass: ClubSponsor
ClubSponsor:
columns:
sponsor_id: { type: integer, primary: false }
club_id: { type: integer, primary: false }
relations:
Sponsor: { onDelete: CASCADE, onUpdate: CASCADE, foreignAlias:
ClubSponsors }
Club: { onDelete: CASCADE, onUpdate: CASCADE, foreignAlias:
ClubSponsors }
ClubMember:
actAs: { Timestampable: ~ }
columns:
club_id: { type: integer, primary: false }
member_id: { type: integer, primary: false }
relations:
Club: { onDelete: CASCADE, onUpdate: CASCADE, foreignAlias:
ClubMembers }
Member: { onDelete: CASCADE, onUpdate: CASCADE, foreignAlias:
ClubMembers }
ClubFacilitator:
actAs: { Timestampable: ~ }
columns:
club_id: { type: integer, primary: false }
member_id: { type: integer, primary: false }
relations:
Club: { onDelete: CASCADE, onUpdate: CASCADE, foreignAlias:
ClubFacilitators }
Member: { onDelete: CASCADE, onUpdate: CASCADE, foreignAlias:
ClubFacilitators }
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en