
Can't have many-to-many assocs within an STI hierarchy
Reported by lobo_tuerto | October 31st, 2008 @ 01:01 AM | in 1.0.0
Hi guys,
I was supposed to report this bug a little while ago (sorry monki), but got wound up in work.
Here is the description of the problem in detail: http://gist.github.com/14409
This is using the current merb stack (merb 0.9.10 and dm 0.9.6). But I think it's still in edge.
Comments and changes to this ticket
-
Dan Kubb (dkubb) January 8th, 2009 @ 05:06 AM
- State changed from new to accepted
- Assigned user changed from Sam Smoot to Dan Kubb (dkubb)
-
Jonathan Stott (namelessjon) February 22nd, 2009 @ 11:00 AM
- Tag set to many-to-many, one_file_test, sti
This still doesn't work (as of 02a93b11ce576361789340f78babf7bd4f796161), although the error is different to that reported by the original submitter.
An 'entity_entities' tables is created, and then the error raised is "Cannot find target relationship books or book in EntityEntity within the :default repository (NameError)"
See attached test
-
Dan Kubb (dkubb) June 7th, 2009 @ 03:15 PM
- Milestone set to 0.10.0
I can confirm this is still a problem in dm-core/next and is due to the way tables are not aliased properly in the join query.
-
Dan Kubb (dkubb) October 4th, 2009 @ 09:33 PM
- Milestone changed from 0.10.0 to 0.10.2
[project:id#20609 not-tagged:"0.10.0" milestone:id#51895 bulk edit command]
-
Dan Kubb (dkubb) February 1st, 2010 @ 04:33 PM
- Milestone changed from 0.10.2 to 1.0.0
-
-
-
Dan Kubb (dkubb) February 2nd, 2010 @ 02:47 AM
- State changed from accepted to confirmed
-
Dan Kubb (dkubb) February 15th, 2010 @ 11:02 PM
- State changed from confirmed to resolved
- Assigned user set to Dan Kubb (dkubb)
- Milestone set to 1.0.0
This is now resolved in edge dm-core.
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »