EntityFieldQuery should prefix conditions with table name for the given entity. If not done, this can cause problems with altering the query.

For example, if you use an EntityFieldQuery to grab a list of users with a specific user id, and alter the query to join on the roles table, you will get a database error about ambiguous column 'uid'

Comments

vipulsuriya’s picture

Issue summary: View changes

Can you please provide more detail on this issue or screenshot with query.

vipulsuriya’s picture

Status: Active » Closed (outdated)

No complete information available about the issue. Hence Closing as it is now outdated by years.