Dear all
i am use DIEM cmf.
i have fetch a problem in admin panel. plz help me...
see my Schema .yml
Exam:
actAs: [ Timestampable,DmSortable ]
columns:
name: { type: string(250), notnull: true ,unique:
true }
code: { type: string(50), notnull: true ,unique:
true }
note: { type: string(250), notnull: false }
relations:
StudentTeacherExamList:
class: DmUser
local: exam_id
foreign: author_id
foreignAlias: Exams
refClass: StudentTeacherExamDetail
InstructorExamList:
class: DmUser
local: exam_id
foreign: instructor_id
foreignAlias: Exams
refClass: InstructorExamDetail
InstructorExamDetail:
actAs: [ Timestampable,DmSortable ]
columns:
exam_id: { type: integer, notnull: true }
instructor_id: { type: integer, notnull: true }
is_taken: { type: boolean, notnull: true, default: false }
relations:
Instructor:
class: DmUser
local: instructor_id
foreign: id
foreignAlias: InstructorExamDetails
onDelete: CASCADE
Exam:
class: Exam
local: exam_id
foreign: id
foreignAlias: InstructorExamDetails
onDelete: CASCADE
StudentTeacherExamDetail:
actAs: [ Timestampable,DmSortable ]
columns:
exam_id: { type: integer, notnull: true }
author_id: { type: integer, notnull: true }
value: { type: string(255), notnull: false ,default:
'Incomplete'}
relations:
Author:
class: DmUser
local: author_id
foreign: id
foreignAlias: StudentTeacherExamDetails
onDelete: CASCADE
Exam:
class: Exam
local: exam_id
foreign: id
foreignAlias: StudentTeacherExamDetails
onDelete: CASCADE
when i generate migration no error found but when i try to access Exam
Module for Admin panel it shown the following error:
"Doctrine_Record_UnknownPropertyException : Unknown record property /
related component "InstructorExamList" on "Exam" "
help me for this problem ..............
--
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