Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 297529

EntityStorageException after field delete and reimport

$
0
0

Error

The website encountered an unexpected error. Please try again later.

Drupal\Core\Entity\EntityStorageException: Exception thrown while performing a schema update. Cannot rename node__field_r to field_deleted_data_b9d6309b74: table field_deleted_data_b9d6309b74 already exists. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1457 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

How to reproduce

  1. Export config
  2. Delete a field from a node in the UI
  3. "Undelete" field with drush config-import
  4. Delete the same field again in the UI.

One will get a similar error message like above.


Viewing all articles
Browse latest Browse all 297529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>