Aljosa Mohorovic-3 wrote:
> 
> You cannot define a correlation name 'i' more than once
> CODE: 0
> FILE: /[path]/library/Zend/Db/Select.php
> 

The code in findManyToManyRowset() does a join, and uses 'i' and 'm' as
correlation names.  Unfortunately, it's reasonably common that a
single-letter correlation name is defined by a user's Zend_Db_Select object. 
Have you tried to do this?

There was no conflict when the query was completely under control of that
method.  But now you can pass a Zend_Db_Select object with its own joins and
other query elements, so you need to avoid the correlation names used by
findManyToManyRowset().

That method should probably be updated to use more obscure correlation
names, to reduce the risk of conflicting with a user query.

Regards,
Bill Karwin
-- 
View this message in context: 
http://www.nabble.com/Zend_1.5.0PR-Db-Select-correlation-error--tp15654825s16154p15702013.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to