Affects Version/s: None
Fix Version/s: None
Environment:Symfony 1.4.0, PHP 5.2.6 & 5.3.1
I'm trying to use the Doctrine i18n behavior but ... something wrong happen!
I have this Doctrine_Connection_Mysql_Exception :
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'p.label' in 'field list' ( ie : linked screenshot )
with this request :
->addWhere('o.order_id = ?', $currentOrderId)
I don't understand why doctrine try to get the label field from "Product", this field is in the Translation table :s
Here an extract from my schema.yml :
fields: [label, label_2]
i don't know if my problem is in my code ( i don't think ), in Doctrine or in Symfony implementation of doctrine and thats why i post this message.
If you want more details ask me I have one working copy "freezed" just for this bug ( and for my work i use a system without i18n behavior :s )
thx in advance