I have tested this more and I am not sure if this is a bug or I do not understand how Tailor and Multisite should work together.
I have created 3 separate Sites and every one has a different language
I have:
Simple Categories blueprint with multisite:true
Simple Records blueprint with multisite:true and with relation to Categories
When I add a new Category (in primary site), 3 records are added to categories tailor table - one for each site.
When I add a new Record (also in primary site) and set the relation to category, 3 records are added to records tailor table - again one for each site.
And what is the most strange behaviour - relation between Record and Category is shown 3 times in Records list.
In tailor relation table (for Record blueprint) there are 3 rows with identical data in all columns (parent_id, relation_id, relation_type).
In tailor relation table (for Record blueprint) there are 3 rows with identical data in all columns (parent_id, relation_id, relation_type).
This definitely shouldn’t happen. Can I confirm are you on the latest version? Also, what are the step by step instructions from a clean install to arrive here?
Czech - czech locale, own template, URL prefix /cs
English - english locale, own template, URL prefix /en
Added simple blueprints (item + category) with multisite:true
Records added to Czech site are duplicated to English site (and I think they shouldn’t be) and categories relations are multiplied exactly as shown on picture in previous post.
PS: Multiplication of categories happens only on create when I check a category. When Item is created without Category and Category is added in update, there is only one relation (as it should be).
@daft I can move this conversation to GitHub issue if you think this is a bug in OC.