Hi,
i have just created a new project and this models and the fixtures below:
sediOK:
id: ~
culture_id: { type: integer, required: true,
foreignTable: culture, foreignReference: id }
nations_id: { type: integer, required: true,
foreignTable: nations, foreignReference: id }
paese_indirizzo: { type: varchar(32), required: true }
ufficio: { type: varchar(64), required: true}
indirizzo: { type: longvarchar, required: true }
culture:
italiano: {code: "it", text: "italiano", folder_prod: "italian" }
frencese: {code: "fr", text: "francese", folder_prod: "francoise" }
inglese: {code: "en", text: "inglese", folder_prod: "english" }
-------
sediOK:
sede_roma_1_italiano: { culture_id: 1, nations_id: 105,
paese_indirizzo: Italia, ufficio: "Ufficio 1:", indirizzo: "XXXXX" }
sede_roma_1_francese: { culture_id: 2, nations_id: 105,
paese_indirizzo: Italia, ufficio: "Office 1:", indirizzo: "XXXXX" }
sede_roma_1_spagnolo: { culture_id: 4, nations_id: 105,
paese_indirizzo: Italia, ufficio: "Oficina 1:", indirizzo: "XXXXXX" }
culture:
id: ~
code: { type: CHAR, size: 6, default: 'it', required: true }
text: { type: VARCHAR, size: 50, default: 'italiano',
required: true }
folder_prod: { type: VARCHAR, size: 50, default: 'italian',
required: true }
When i do "propel:build-all-load"|| it says:
The object "1" from class "Culture" is not defined in your data file.
So it's not inserting the culture fixtures but i don't know why...If I
remove the sediOK model and fixtures, and then do
"propel:build-all-load"|| the culture fixtures are inserted ok.
Any idea?
Jav
--
Javi
Ubuntu 10.04, sf 1.4
--
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 symfony-users@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