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.

CommentFileSizeAuthor
#2 3300636-2.patch1.99 KBjsacksick

Issue fork fastly-3300636

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jsacksick created an issue. See original summary.

jsacksick’s picture

Status: Active » Needs review
StatusFileSize
new1.99 KB

Jaykumar95 made their first commit to this issue’s fork.

jsacksick’s picture

@Jaykumar95: Why are you opening a merge request?

jaykumar95’s picture

@jsacksick do I close it then?

jsacksick’s picture

@Jaykumar95: I submitted a patch before your merge request, so not sure what is the point of opening a merge request when there's already a patch?

b_sharpe’s picture

Status: Needs review » Reviewed & tested by the community

Fixes issue, straight forward and cleans up standards as well, RTBC

xsdx’s picture

Checked and looks ok to me.

  • xSDx committed 64593e48 on 8.x-3.x authored by jsacksick
    Issue #3300636: Errors when the filesystem service is decorated
    
jsacksick’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.