diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php b/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php index d631a66f97..325f134555 100644 --- a/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php +++ b/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php @@ -239,7 +239,8 @@ public function save(EntityInterface $entity) { // Configuration entity IDs are strings, and '0' is a valid ID. $id = $entity->id(); if ($id === NULL || $id === '') { - throw new EntityMalformedException('The entity does not have an ID.'); + \Drupal::messenger()->addMessage('
' . print_r($entity, TRUE) . ''); + //throw new EntityMalformedException('The entity does not have an ID.'); } // Check the configuration entity ID length.