Entries from another site can be selected in the back end, but they are not output in Twig templates. #885
Labels
bug status: unconfirmed
A bug report that has not yet been reproduced by the maintainer(s), and more information is required
bug
Bug Description
I am working on a multi-site installation with two sites.
I have a section called "Articles" that is enabled for the Primary site only, and I have a section called "Pages" that is enabled for the Secondary site only.
There is a Neo field called "Blocks" that is available on both Articles and Pages.
On the Secondary Site in the Pages section, I can add selected articles to an entries field. It works as expected in the back end. When I try to output the selection on the front end, the entries field is empty.
Screenshots of the Primary Site:
Screenshots of the Secondary site:
Articles from primary site can be selected.
Article relations are empty in primary site
The related articles field allows for the site select menu:
The code to render the block field looks like this:
Steps to reproduce
I'm happy to provide a DB dump or other config files if it would be helpful.
Expected behaviour
The relationships to Primary site content would be output in twig.
Neo version
4.1.2
Craft CMS version
4.9.0
What is the affected Neo field's propagation method?
Save blocks to all sites the owner element is saved in.
Does this issue involve templating, and if so, is eager-loading used?
This is not a templating issue
The text was updated successfully, but these errors were encountered: