- Issue created by @laura.j.johnson@gmail.com
If the block contains cloned paragraphs which contain a media reference, the media doesn't display in the cloned paragraph in layout builder. The media reference is there, I can see it when I debug and it also displays on the node canonical route. But in Layout Builder preview it looks as though no media has been added in the preview and when viewing the block form.
Note that I am not cloning the media, I am just adding the same target ID that exists in the original block. The media displays in the original block but not the cloned block. The block form appears as though no media has been added.
It looks as though it might be an access issue. It seems odd because the very same media item is displaying in a block in the same section.
This is the case whether using entity_clone or not. Note that if you are not using entity_clone you need the patch from here: https://www.drupal.org/project/layout_builder_block_clone/issues/3416926 🐛 Support for entity_reference_revisions fields Needs review
Active
1.2
Code