Validate wrapper result in getRealpath method

Created on 30 November 2022, over 1 year 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.69.0 2024