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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3300636-2.patch | 1.99 KB | jsacksick |
Issue fork fastly-3300636
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:
- 3300636-errors-when-the
changes, plain diff MR !9
- Jaykumar-8.x-3.x-patch-43380
changes, plain diff MR !10
Comments
Comment #2
jsacksick commentedComment #5
jsacksick commented@Jaykumar95: Why are you opening a merge request?
Comment #7
jaykumar95@jsacksick do I close it then?
Comment #8
jsacksick commented@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?
Comment #10
b_sharpe commentedFixes issue, straight forward and cleans up standards as well, RTBC
Comment #11
xsdx commentedChecked and looks ok to me.
Comment #13
jsacksick commented