#1201 confirmed
Dan Kubb (dkubb)

Invalid Query for m:m relationship with a nested hash

Reported by Dan Kubb (dkubb) | February 16th, 2010 @ 01:24 PM

When using a nested Hash to search through a m:m association, the subquery is being constructed incorrectly. The inner query is matching up the PK of the target with the PK of the source, where it should be matching up the FK in the intermediary with the PK of the source.

Attached is a script demonstrating the problem.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Attachments

Referenced by

Pages