Hi all ;
I found a probleme in a propel generation when adding some i18n table
in my schema.yml file .
Whene i execute : symfony propel:build-model
I don't have any warning message or error
But whene i lunch my site i have this error :
Parse error: parse error, expecting `')'' in www\lib\model\om
\BaseCountryPeer.php on line 444
And in the line 444 i found this
$c->add(, $culture);


This a part off my schema file :

country:
    _attributes:  { phpName: Country, isI18N: true, i18nTable:
country_i18n }
    id: { type: INTEGER, size: '10', primaryKey: true, autoIncrement:
true, required: true }
  country_i18n:
    _attributes: { phpName: CountryI18n }
    culture: { type: VARCHAR, size: '7', primaryKey: true, required:
true }
    country_id: { type: INTEGER, size: '10', primaryKey: true,
required: true, foreignTable: country, foreignReference: id, onDelete:
RESTRICT, onUpdate: RESTRICT }
    title: { type: VARCHAR, size: '40', required: false }
    _indexes: { country_i18n_FKIndex1: [country_id] }


Note : i build this yml file from a the database with this cli :
symfony propel-build-schema
Help me please I am bloqued .

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to