Admin Generator Unknown record property
Bonjour,
Relativement nouveau à symfony, j'utilise l'admin generator. Lorsque je génère mes modules du backend, pas de soucis. Mais lorsque que j’accède un un module (entre autre /souspage) symfony me dit que Unknown record property / related component "souspage_image01_titre" on "Souspage"
Or, d’après le schéma ci-joint, c'est souspage_image_01_titre, il manque un underscore, mais le schéma est bon, et mon frontend finit.
Des idées pour débuggué, j'en est pas la moindre là o_O
mon shchéma.yml :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
| Page:
connection: doctrine
tableName: page
columns:
id:
type: integer(4)
primary: true
autoincrement: true
page_nom:
type: string()
notnull: true
page_titre:
type: string()
notnull: true
# [...}
Souspage:
connection: doctrine
tableName: souspage
columns:
id:
type: integer(4)
primary: true
autoincrement: true
page_id:
type: integer(4)
notnull: true
souspage_titre:
type: string()
notnull: true
souspage_description:
type: string()
notnull: true
souspage_image:
type: string()
notnull: true
souspage_image_01_titre: { type: string(1000), notnull: true }
souspage_image_01_lien: { type: string(), notnull: true }
souspage_image_02_titre: { type: string(1000), notnull: true }
souspage_image_02_lien: { type: string(), notnull: true }
# [...]
relations:
Page:
local: page_id
foreign: id
type: one |
Pour le reste, mon frontend marche sans soucis... je présume que symfony n'aime pas trop le _01_
Voila merci ;)