Incompatible with s3fs

Created on 11 March 2025, 29 days ago

Problem/Motivation

  • The complete_webform_exporter module fails to enable on a Drupal installation with s3fs enabled

Steps to reproduce

  • On a Drupal installation with s3fs enabled, composer require complete_webform_exporter && drush en complete_webform_exporter
  • The following error message appears:
    TypeError: Drupal\complete_webform_exporter\Plugin\Action\WebformSubmissionsExporterAction::__construct(): Argument #6 ($fileSystem) must be of type Drupal\Core\File\FileSystem, Drupal\s3fs\S3fsFileSystemD103 given, called in /var/www/html/web/modules/contrib/complete_webform_exporter/src/Plugin/Action/WebformSubmissionsExporterAction.php on line 73 in Drupal\complete_webform_exporter\Plugin\Action\WebformSubmissionsExporterAction->__construct() (line 61 of /var/www/html/web/modules/contrib/complete_webform_exporter/src/Plugin/Action/WebformSubmissionsExporterAction.php)

Proposed resolution

  • Use Drupal\Core\File\FileSystemInterface instead of Drupal\Core\File\FileSystem

Remaining tasks

  • Open a merge request

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada andrew.wang

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024