- Issue created by @arakwar
When saving a section or template to the library, inline blocks are cloned during the process, but that duplicate is not saved to the database.
Add a section to your page, add a custom block to it (our block is only a title and a wysiwyg, no entity reference).
Save that page, then go back in it, and add the section to your section library.
It will save properly, and you can add the template back in your page.
But if you look at the actual data in the database, you'll noticed that no new block were created.
You can see the issue by looking at the serialized version of the data. The block will have a different UUID.
This breaks when trying to use Section Library with Entity Share, as Entity Share will try to find a block that doesn't exists.
When digging in this, I saw that the clone seemed to improperly update the entity values. Also, the UUID key of the SectionComponent config isn,t set properly.
- Understand why the clone carries a different UUID in values and fields
- Figure out why the duplicated block isn't saved to the database.
Active
1.1
Code