diff --git a/core/lib/Drupal/Core/Config/ConfigInstaller.php b/core/lib/Drupal/Core/Config/ConfigInstaller.php index 2bb06b3..954eb8e 100644 --- a/core/lib/Drupal/Core/Config/ConfigInstaller.php +++ b/core/lib/Drupal/Core/Config/ConfigInstaller.php @@ -119,6 +119,7 @@ public function installDefaultConfig($type, $name) { $new_config->setData($data); } if ($entity_type = $this->configManager->getEntityTypeIdByName($name)) { + file_put_contents('/tmp/installing', "Config file: $name - Entity-type: $entity_type\n", FILE_APPEND); $this->configManager ->getEntityManager() ->getStorageController($entity_type) @@ -126,6 +127,7 @@ public function installDefaultConfig($type, $name) { ->save(); } else { + file_put_contents('/tmp/installing', "Normal file: $name\n", FILE_APPEND); $new_config->save(); } } diff --git a/core/lib/Drupal/Core/Config/ConfigManager.php b/core/lib/Drupal/Core/Config/ConfigManager.php index 65a7846..79c4de5 100644 --- a/core/lib/Drupal/Core/Config/ConfigManager.php +++ b/core/lib/Drupal/Core/Config/ConfigManager.php @@ -63,6 +63,7 @@ public function __construct(EntityManagerInterface $entity_manager, ConfigFactor */ public function getEntityTypeIdByName($name) { $entities = array_filter($this->entityManager->getDefinitions(), function (EntityTypeInterface $entity_type) use ($name) { + file_put_contents('/tmp/installing', "Checking entity type for $name - " . $entity_type->getLabel() . " - " . $entity_type->getConfigPrefix() . "\n", FILE_APPEND); return ($config_prefix = $entity_type->getConfigPrefix()) && strpos($name, $config_prefix . '.') === 0; }); return key($entities); diff --git a/core/modules/field/tests/modules/field_test_config/staging/field.field.entity_test.field_test_import_staging.yml b/core/modules/field/tests/modules/field_test_config/staging/field.field.entity_test.field_test_import_staging.yml index 6f9b8a8..127a97a 100644 --- a/core/modules/field/tests/modules/field_test_config/staging/field.field.entity_test.field_test_import_staging.yml +++ b/core/modules/field/tests/modules/field_test_config/staging/field.field.entity_test.field_test_import_staging.yml @@ -1,4 +1,5 @@ id: entity_test.field_test_import_staging +uuid: 0bf654cc-f14a-4881-b94c-76959e47466b langcode: und name: field_test_import_staging entity_type: entity_test diff --git a/core/modules/field/tests/modules/field_test_config/staging/field.field.entity_test.field_test_import_staging_2.yml b/core/modules/field/tests/modules/field_test_config/staging/field.field.entity_test.field_test_import_staging_2.yml index 9b621ab..017e9db 100644 --- a/core/modules/field/tests/modules/field_test_config/staging/field.field.entity_test.field_test_import_staging_2.yml +++ b/core/modules/field/tests/modules/field_test_config/staging/field.field.entity_test.field_test_import_staging_2.yml @@ -1,4 +1,5 @@ id: entity_test.field_test_import_staging_2 +uuid: 2165d9aa-9a0c-41a1-be02-2a49f3405c00 langcode: und name: field_test_import_staging_2 entity_type: entity_test diff --git a/core/modules/system/config/system.site.yml b/core/modules/system/config/system.site.yml index b1c5df5..4be7ae6 100644 --- a/core/modules/system/config/system.site.yml +++ b/core/modules/system/config/system.site.yml @@ -1,3 +1,4 @@ +uuid: '' name: Drupal mail: '' slogan: '' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_search.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_search.yml index 71443c8..b23b62b 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_search.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_search.yml @@ -244,5 +244,4 @@ label: 'Search Test' module: views id: test_search tag: '' -uuid: f19c4fd2-af74-4d70-8500-a1037ca434bb langcode: en