diff --git a/core/modules/file/src/Plugin/migrate/source/d7/File.php b/core/modules/file/src/Plugin/migrate/source/d7/File.php index 1a754ed5d30a497218fd01cf8c7c76131f27cc09..0fd8e898507aa064fff0c80871d8d12cfb20c6a4 100644 --- a/core/modules/file/src/Plugin/migrate/source/d7/File.php +++ b/core/modules/file/src/Plugin/migrate/source/d7/File.php @@ -88,7 +88,11 @@ public function query() { */ protected function initializeIterator() { $this->publicPath = $this->variableGet('file_public_path', 'sites/default/files'); - $this->privatePath = $this->variableGet('file_private_path', NULL); + // @todo: FIX https://www.drupal.org/project/drupal/issues/3123350 + // This is a quickfix!! + // Never prepend the old file_private path as it makes private file migrations hard / impossible! + $this->privatePath = NULL; + // Before: $this->privatePath = $this->variableGet('file_private_path', NULL); return parent::initializeIterator(); }