- 🇮🇳India imalabya Bangalore
This issue exists in Drupal 9.5 with entity clone
Steps to reproduce:
- Add a Block which have a media reference in a Layout Builder enabled node
- Clone the node
- Go to layout of the new cloned node and edit the block.
- Remove the arrached media reference and try to add a new Media reference (Either by selecting existing media item or upload new)
- Throws an AJAX error
Non-reusable blocks must set an access dependency for access control.
- 🇮🇩Indonesia permanaj Bali
I have similar case with @imalabya
I get error `Non-reusable blocks must set an access dependency for access control.` after uploading the image for the second time
Steps to reproduce:
- Add a Block which have a media reference in a Layout Builder enabled node
- Clone the node
- Go to the layout of the new cloned node and edit the block.
- Remove the attached media reference and try to add upload new image. Save block. Save layout.
- Go to the layout of the cloned node again, and edit the block.
- Remove the attached media reference and again, try to add upload new image. After selecting the image there is an error on the browser console
I test this on simplytest.me using Drupal 10.3.6 and 10.3.9 with Entity clone module version 2.1.x.