hook_file_download triggers warnings for non-existing files

Created on 22 March 2021, about 4 years ago
Updated 3 August 2023, over 1 year ago

Problem/Motivation

The hook_file_download triggers warnings for non-existing files.

Steps to reproduce

Configure flysystem to serve files. Upload a file to drupal and delete it manually. Try to download the file through drupal.

Proposed resolution

Add a file_exists check in flysystem_file_download.

Remaining tasks

none

User interface changes

none

API changes

none

Data model changes

none

πŸ› Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands spadxiii

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