[symfony-users] Re: I think I've found a subtle, nasty bug in sfDoctrine

2010-08-11 Thread JMather
Latest and last update from me: It seems to be some conflict between the order objects are loaded and the "black magic" of the exporter. My solution has been to do the following in the schema.yml: Article: tableName: articles columns: name: { type: string(255), notnull: true } relation

[symfony-users] Re: I think I've found a subtle, nasty bug in sfDoctrine

2010-08-11 Thread JMather
More information: When I run the following: export->exportSql()); var_export(Doctrine_Core::generateSqlFromModels('lib/model/ doctrine')); (this should run on any symfony/doctrine setup provided you point to the right doctrine path...) I get two outputs: exportSql(): array ( 0 => 'CREATE

[symfony-users] Re: I think I've found a subtle, nasty bug in sfDoctrine

2010-08-11 Thread JMather
As an added bonus: I've also confirmed this continues to happen both on php 5.3.1 and php 5.2.9, so it's not a php abnormality, I would assume. -- 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

[symfony-users] I think I've found a subtle, nasty bug in sfDoctrine

2010-08-11 Thread JMather
Hi everybody! I'm hoping someone can help me out here, as I've found myself in quite a pickle. Here's the issue: schema.yml: Article: tableName: articles columns: name: { type: string(255), notnull: true } relations: Areas: refClass: AreaArticle class: Area loc