Hello,
I have 4 tables : contact, map, tag and category
1rst table : contact
2nd table : map => related model = contact, relation = "map.content_item_id=contact.id" (one matching record, foreign key in this model)
3rd table : tag => related model = map, relation = "tag.id = map.tag_id" (one matching record, foreign key in related model)
4th table : category => related model = contact, relation = "category.id=contact.catid" (one matching record, foreign key in related model)
The debugs shows that the first relation between map and contact is working well, that the third relation between category and contact is working well, but there is no sign of the second relation between map and tag.
Is there a bug (relation with other model than the "principal" is not working) or do I miss something ?[file=13749]TestReadData_10_Feb_2021_15_51_26.cf7bak[/file]
I have 4 tables : contact, map, tag and category
1rst table : contact
2nd table : map => related model = contact, relation = "map.content_item_id=contact.id" (one matching record, foreign key in this model)
3rd table : tag => related model = map, relation = "tag.id = map.tag_id" (one matching record, foreign key in related model)
4th table : category => related model = contact, relation = "category.id=contact.catid" (one matching record, foreign key in related model)
The debugs shows that the first relation between map and contact is working well, that the third relation between category and contact is working well, but there is no sign of the second relation between map and tag.
Is there a bug (relation with other model than the "principal" is not working) or do I miss something ?[file=13749]TestReadData_10_Feb_2021_15_51_26.cf7bak[/file]