- Issue created by @kruser
This was reported previously. If you clone a block that has a Media field/Media Library, then the Media Library throws lots of JS errors preventing the upload or selection of a media file.
An AJAX HTTP error occurred.
HTTP Result Code: 403
Debugging information follows.
Path: https://www.mysite.org/media-library?media_library_opener_id=media_library.opener.field_widget&media_library_allowed_types%5Bicon%5D=icon&media_library_allowed_types%5Bimage%5D=image&media_library_allowed_types%5Blogo%5D=logo&media_library_allowed_types%5Bremote_video%5D=remote_video&media_library_selected_type=image&media_library_remaining=1&media_library_opener_parameters%5Bfield_widget_id%5D=field_media%3A-settings-block_form&media_library_opener_parameters%5Bentity_type_id%5D=block_content&media_library_opener_parameters%5Bbundle%5D=media&media_library_opener_parameters%5Bfield_name%5D=field_media&media_library_opener_parameters%5Bentity_id%5D=4125&media_library_opener_parameters%5Brevision_id%5D=8148&hash=OAxqBt8AWPe8wiB9iB_EsHxZi5Sb-xQTawdn9-gZDWo&media_library_content=1
StatusText: error
ResponseText: {"message":"Non-reusable blocks must set an access dependency for access control."}"
This is only happening for cloned blocks. I'm User 1, so ruling out permissions settings.
Active
1.3
Code