Errors when the filesystem service is decorated

Created on 29 July 2022, over 2 years ago
Updated 4 April 2023, about 2 years ago

Problem/Motivation

There's currently an issue with the FastlyEdgeModulesController which specifies the FileSystem service itself directly, instead of its interface.

As a consequence, when the file system service is decorated (For example, when using the S3FS module), the following error occurs:

TypeError: Drupal\fastly\Controller\FastlyEdgeModulesController::__construct(): Argument #3 ($file_system) must be of type Drupal\Core\File\FileSystem, Drupal\s3fs\S3fsFileService given.

The fix consists in using the FilesystemInteface instead, patch to follow.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇮🇱Israel jsacksick

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024