From fc1a8d516fd4a237f5560b79fee0e58cfc973a54 Mon Sep 17 00:00:00 2001 From: Dave Long <dave@longwaveconsulting.com> Date: Wed, 24 Jan 2024 22:26:19 +0000 Subject: [PATCH] Issue #3415422 by kim.pepper: Fix incorrect change record link in FileUploadResource and TemporaryJsonapiFileFieldUploader constructors --- .../file/src/Plugin/rest/resource/FileUploadResource.php | 2 +- .../src/Controller/TemporaryJsonapiFileFieldUploader.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/file/src/Plugin/rest/resource/FileUploadResource.php b/core/modules/file/src/Plugin/rest/resource/FileUploadResource.php index 607f258c509f..7be618c13c89 100644 --- a/core/modules/file/src/Plugin/rest/resource/FileUploadResource.php +++ b/core/modules/file/src/Plugin/rest/resource/FileUploadResource.php @@ -208,7 +208,7 @@ public function __construct(array $configuration, $plugin_id, $plugin_definition } $this->fileValidator = $file_validator; if (!$input_stream_file_writer) { - @trigger_error('Calling ' . __METHOD__ . '() without the $input_stream_file_writer argument is deprecated in drupal:10.3.0 and is required in drupal:11.0.0. See https://www.drupal.org/node/123', E_USER_DEPRECATED); + @trigger_error('Calling ' . __METHOD__ . '() without the $input_stream_file_writer argument is deprecated in drupal:10.3.0 and is required in drupal:11.0.0. See https://www.drupal.org/node/3380607', E_USER_DEPRECATED); $input_stream_file_writer = \Drupal::service('file.input_stream_file_writer'); } $this->inputStreamFileWriter = $input_stream_file_writer; diff --git a/core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php b/core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php index 0e469ff18f44..864f5e368107 100644 --- a/core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php +++ b/core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php @@ -166,7 +166,7 @@ public function __construct(LoggerInterface $logger, FileSystemInterface $file_s } $this->fileValidator = $file_validator; if (!$input_stream_file_writer) { - @trigger_error('Calling ' . __METHOD__ . '() without the $input_stream_file_writer argument is deprecated in drupal:10.3.0 and is required in drupal:11.0.0. See https://www.drupal.org/node/123', E_USER_DEPRECATED); + @trigger_error('Calling ' . __METHOD__ . '() without the $input_stream_file_writer argument is deprecated in drupal:10.3.0 and is required in drupal:11.0.0. See https://www.drupal.org/node/3380607', E_USER_DEPRECATED); $input_stream_file_writer = \Drupal::service('file.input_stream_file_writer'); } $this->inputStreamFileWriter = $input_stream_file_writer; -- GitLab