Node save broken when using S3FS as file system in beta8

Created on 3 February 2023, almost 2 years ago
Updated 6 February 2023, almost 2 years ago

Problem/Motivation

Updating from 2.00 beta7 to 2.00 beta8 produces the following error when saving a node:

TypeError: Drupal\entity_usage\EntityUsageTrackBase::__construct(): Argument #10 ($public_stream) must be of type Drupal\Core\StreamWrapper\PublicStream, Drupal\s3fs\StreamWrapper\PublicS3fsStream given, called in /var/www/html/web/modules/contrib/entity_usage/src/EntityUsageTrackBase.php on line 123 in Drupal\entity_usage\EntityUsageTrackBase->__construct() (line 97 of modules/contrib/entity_usage/src/EntityUsageTrackBase.php).

Steps to reproduce

Have S3 as the Drupal file system. Upgrade to beta8 from beta7. Create or edit a node with media and save.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom wilksdotco

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

Comments & Activities

Production build 0.71.5 2024