Postponed (maintainer needs more info)
Project:
Section Library
Version:
1.2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2022 at 07:56 UTC
Updated:
16 Sep 2025 at 14:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
qusai taha commentedPatch to fix the issue on inline blocks with entity reference revision
Comment #3
rajab natshahComment #4
rajab natshahComment #6
qusai taha commentedFix the issue after saving the layout builder page
Comment #7
rajab natshahComment #8
deepak.cms commentedAbove line is giving an error when importing the section from library.
Comment #9
deepak.cms commentedComment #10
jastraat commentedI was unable to recreate this error with an entity reference revision field targeting content block and using the steps above in 1.2.2. Are there additional steps required to trigger the error or more details that could be provided?
Comment #11
weseze commentedI think I ran into a similar issue over here: https://www.drupal.org/project/section_library/issues/3275063
Also had a blok reference field and expected the block reference to duplicate. Instead the section in the library was referencing the same block as the original section and the imported section was also referencing the same block.
Not sure if the suggested patch is the correct way of doing things.
Leaving entity references intact vs. duplicating the references feels like it should be a choice, not fixed behaviour.
That is why I suggested to have hooks available so you can decide to alter the behaviour in a custom setup.