Affects Version/s: None
Fix Version/s: None
Environment:Windows 7 64 bits, PHP 5.2.11, Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi, Symfony 1.4.13
When i execute this code:
Doctrine executes :
This causes "Oracle DB Error ORA-01791 not a SELECTed expression" because the sql query don't have a2.nom in SELECT DISTINCT and it's indispensable for ORDER BY a2.nom
The problem is caused by the variable $attributes in Doctrine_Adapter_Oracle :
The problem is in Query.php line 1417 :
The driver name declared in Doctrine_Adapter_Oracle not in this conditional.
To resolve this we have to modify the declaration of $attributes in Doctrine_Adapter_Oracle to :
An other problem is probably located at line 1409
if don't correct the declaration of $attributes in Doctrine_Adapter_Oracle.