FileSystem::uriScheme() was deprecated in Drupal 8

Created on 8 January 2021, almost 4 years ago
Updated 11 April 2023, over 1 year ago

Problem/Motivation

Attempting to set certain values for a Paragraph type's browser image path may trigger a fatal error in Drupal 9.

Steps to reproduce

Install RC1 on Drupal 9.
Attempt to set a Paragraph type's browser image path to a path that will not be taken care of by the first few conditionals, e.g. pretty much any file path where the file does not exist.

Proposed resolution

The deprecated call needs to be updated per documentation at https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21File%21Fi...

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bvoynick

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