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 cd285749e24dda93108b2631047aad40c236fad1..02c12706a67934884f93ba4479026af28df78625 100644 --- a/core/modules/file/src/Plugin/migrate/source/d7/File.php +++ b/core/modules/file/src/Plugin/migrate/source/d7/File.php @@ -65,7 +65,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(); }