Implement StreamWrapperManager instead of StreamWrapperManagerInterface

Created on 30 May 2021, over 3 years ago
Updated 6 April 2023, over 1 year ago

Problem/Motivation

The current implementation of StreamWrapperManagerInterface to get the file URI in `EntityStagingExportFileSubscriber.php` should use `StreamWrapperManager` instead.

Currently using StreamWrapperManagerInterface causes this error.

Error: Cannot call abstract method Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::getTarget() in Drupal\entity_staging\EventSubscriber\EntityStagingExportFileSubscriber->exportFiles() (line 98 of /var/www/web/modules/contrib/entity_staging/src/EventSubscriber/EntityStagingExportFileSubscriber.php)

Steps to reproduce

Export files using entity_staging latest dev.

Proposed resolution

Swap `StreamWrapperManagerInterface` with `StreamWrapperManager`.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States acouch

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