You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a multisite (5 sites for 5 different languages) Craft install I created an Entry field, called relatedAutomaticProcess. I added two instances of it to my Products entry type: lastGetProductsProcess and lastTranslateProductsProcess:
Saboteur777
changed the title
[5.x]: Multiple instances of the same entry field loads the same relation, even only one of them has it in reality
[5.x]: Multiple instances of the same entry field loads the same relation, even only if one of them has it in reality
Mar 18, 2025
What happened?
Description
On a multisite (5 sites for 5 different languages) Craft install I created an Entry field, called
relatedAutomaticProcess
. I added two instances of it to my Products entry type:lastGetProductsProcess
andlastTranslateProductsProcess
:I save a relation into one of them with the following code:
When viewing this on the "primary" site, everything looks fine:
If I switch to a different site, both fields have the same relation:
The fields are not translatable, while the section propagates its entries to all sites.
Steps to reproduce
Expected behavior
Show related entry only in the field where it belongs.
Craft CMS version
5.6.11
PHP version
8.2.27
Operating system and version
Linux 6.6.80-1-MANJARO
Database type and version
MySQL 8.0.41
Image driver and version
Imagick 3.7.0 (ImageMagick 7.1.1-41)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: