diff -u b/core/lib/Drupal/Core/Config/ConfigSync.php b/core/lib/Drupal/Core/Config/ConfigSync.php --- b/core/lib/Drupal/Core/Config/ConfigSync.php +++ b/core/lib/Drupal/Core/Config/ConfigSync.php @@ -232,7 +232,7 @@ protected function doConfigSync() { $factory = drupal_container()->get('config.factory'); foreach (array('delete', 'create', 'change') as $op) { - foreach ($this->getUnprocessed($op) as $key => $name) { + foreach ($this->getUnprocessed($op) as $name) { $config = new Config($name, $this->targetStorage); if ($op == 'delete') { $config->delete(); @@ -243,7 +243,7 @@ $config->save(); } $factory->reset($name); - $this->setProcessed($op, $key); + $this->setProcessed($op, $name); } } } @@ -261,7 +261,7 @@ // First pass deleted, then new, and lastly changed configuration, in order to // handle dependencies correctly. foreach (array('delete', 'create', 'change') as $op) { - foreach ($this->getUnprocessed($op) as $key => $name) { + foreach ($this->getUnprocessed($op) as $name) { // Call to the configuration entity's storage controller to handle the // configuration change. $handled_by_module = FALSE; @@ -281,7 +281,7 @@ $handled_by_module = entity_get_controller($entity_type)->$method($name, $new_config, $old_config); } if (!empty($handled_by_module)) { - $this->setProcessed($op, $key); + $this->setProcessed($op, $name); } } } only in patch2: unchanged: --- a/core/modules/system/lib/Drupal/system/Tests/Database/RegressionTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Database/RegressionTest.php @@ -12,13 +12,6 @@ */ class RegressionTest extends DatabaseTestBase { - /** - * Modules to enable. - * - * @var array - */ - public static $modules = array('node'); - public static function getInfo() { return array( 'name' => 'Regression tests',