Hello,
I am having problems getting the DataObjectManager to properly associate items when it is being used in more than one level of class inheritance. (sorry if I am using the wrong language to describe this!)
Here is what I have now:
In the "Page" class itself I am adding a "has_many" relationship to "BannerImages"
"ArticlePage" extends "Page" and has two additional "has_many" relationships, one to "ArticleImages" and another to "ArticleFiles"
ArticleImages and ArticleFiles work beautifully.
But BannerImages keeps getting associated with seemingly all, or random, Pages and ArticlePages! What gives?
I took a peak at the database table BannerImage and see that the PageID is the foreign key. Do my ArticlePages use a PageID, too, or does ArticlePageID override that?
Thanks for any insight!
Jeremy