I have 2 entity's
AlienImage.cfc MonsterImage.cfc
Both these entity's inherit from Image.cfc which contains the name of the image.
My issue is that when I use to use the following....
World.cfc property name="images" singularname="image" type="array" fieldtype="one-to-many" cfc="AlienImage" fkcolumn="worldID" cascade="all" remotingFetch="true";
when I load world.cfc remotingFetch on this relationship SHOULD bring back image name too since AlienImage extends image.cfc with it in, but now image is blank, why?
Is this a bug in CF ORM????
"DATA": [
{
"worldname": "some world",
"images": [
{}
],
}
],
My suggestion would be to double check the database tables and make sure that your join or subselect for worldID (PK for "some world") actually ties to an image. The data does not appear to be saved correctly.