Validate wrapper result in getRealpath method

Created on 30 November 2022, almost 2 years ago
Updated 21 February 2023, over 1 year ago

Problem/Motivation

When a URI don't have a scheme or URL valid, the functions fails in cron and cron is stopped.

Steps to reproduce

try ti use a Uri like /sites/default/files/myfile.pdf

Proposed resolution

Implements a validation to verify $this->streamWrapperManager->getViaUri doesn't return FALSE

🐛 Bug report
Status

Fixed

Component

Code

Created by

🇨🇴Colombia aldibier Manizales

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