XsendfileImageStyleDownloadController::deliver() has wrong signature

Created on 16 October 2024, about 1 month ago

Problem/Motivation

XsendfileImageStyleDownloadController extends Drupal\image\Controller\ImageStyleDownloadController and the deliver() function of that class changed its signature with Drupal 10.3. Therefore XsendfileImageStyleDownloadController is no longer compatible with Drupal\image\Controller\ImageStyleDownloadController.

Steps to reproduce

Try to install xsendfile with Drupal >=10.3 or >=11.0. The installation will fail and an error message will be logged about the imcompatible implementation of deliver().

Proposed resolution

Update XsendfileImageStyleDownloadController::deliver() to match Drupal\image\Controller\ImageStyleDownloadController.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany lukas_w

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

Comments & Activities

Production build 0.71.5 2024