ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Read data and relation between "second level" tables

FloB 10 Feb, 2021
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]
You need to login to be able to post a reply.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com