Hello,
After updating the core from 8.5.6 to 8.6.0, the custom block library appears empty. Custom block types still exist, but the custom block list is empty. Yet, they still exist in the database.
On the Block Layout page, custom blocks are listed in their place in the regions, but they do not appear with the message :
This block is defective or missing. The content is missing or you may need to activate the original module
.The TypedConfigManager.php file is identical to https://cgit.drupalcode.org/drupal/tree/core/lib/Drupal/Core/Config/Type... and I restarted the server without success.
The update operations for the blocks ran successfully :
block_content 8600 hook_update_n Add 'reusable' field to 'block_content' entities.
block_content add_views post-update Adds a 'reusable' filter to _reusable Custom Block views. _filter
The drush command php with
$ service=\Drupal :: service ('config.typed');
get_class ($ service);
return :
=> Drupal\Core\Config\TypedConfigManager {# 917
+ "_ serviceId": "config.typed",
}
And after a press on entry :
=> "Drupal\Core\Config\TypedConfigManager"
Commenting out the line $context->setTypedDataManager($old_context->getTypedDataManager());
in the core/lib/Drupal/Core/Plugin/Context/Context::createFromContext()
file does not solve the problem.
Thank you for considering this case
None have been provided for starting at install Drupal core
Workaround
Running this command drush sqlq "update block_content_field_data set reusable = 1;" | drush cr
fixed it. From
#9
π
Custom blocks are no longer displayed and no longer appear in the custom block library
Closed: cannot reproduce
or
the patch in #21 π Custom blocks are no longer displayed and no longer appear in the custom block library Closed: cannot reproduce
Closed: cannot reproduce
9.5
Last updated
It restores functionality that was present in earlier versions.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.