Problem/Motivation
currently it is not possible in the layout builder to upload a new media item or to change it to another element is not working
Steps to reproduce
testet here: https://www.drupal.eu/node/23/layout
tried to upload a new image.
Please spot the errors and screenshot
When uploading new media items within the layout builder, there are no buttons after selecting an image.
When selecting a new media item, JS Errors pop up and nothing happens
Proposed resolution
Remaining tasks
| Comment | File | Size | Author |
|---|---|---|---|
| CleanShot 2026-05-07 at 08.27.28@2x.png | 858.24 KB | grienauer |
Issue fork la_eu-3588882
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
taran2lCould be related to #3587540: File upload broken
Comment #3
taran2lWe have spent some time digging into it and basically the rabbit hole is quite deep.
The source of the issue is the fact that inline block usage is not being recorded when content is being created by the default_content module
However, there is more - when a project is being installed from config - usage for default inline blocks in the layout is not recorded as well
There are a few patches, but not a single one works for all the use cases.
More to that - the extra thing is that existing content needs to be updated to include inline block usage.
So, the proposed solution:
Let me know what do you think
Comment #4
grienauerI deleted this block and recreated it.
Let's keep so and don't spend extra time here… would be great to have this solved but if deleting and recreating it once fixes this problem it is ok at least for me.
thx for clarification and effort to find the problem.
Comment #5
grienauerComment #6
esmoves commentedAgreed with the path forward. I will check for other broken blocks within existing content and document the process to replace them.
Thank you for finding this!
Comment #9
taran2l