
Association problem with subclasses
Reported by Kiasyn | June 15th, 2009 @ 02:33 AM
When using 'has n' for a class with deriatives, the deriatives aren't loaded properly.
Example at http://kiasyn.pastebin.com/m34bff3b3
Comments and changes to this ticket
-
Dan Kubb (dkubb) June 16th, 2009 @ 11:01 PM
- State changed from new to accepted
- Milestone set to 0.10.0
-
Dan Kubb (dkubb) July 2nd, 2009 @ 11:15 AM
This is an interesting problem. It happens because the association links to the Item model, so when the query is generated it uses the Item model's default properties (which is just name and type).
While it might be possible to generate the Query using the default properties for all of Item's descendants, we will also need to make sure to ignore properties from Sibling model when initializing the object inside Model#load.
-
Dan Kubb (dkubb) August 15th, 2009 @ 03:16 AM
- no changes were found...
-
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
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 »