HtmlResponseAttachmentsProcessor dependency breaks when a decorator is used

Created on 22 September 2025, 10 days ago

Problem/Motivation

Some modules, like Canvas, are decorating html_response.attachments_processor, so we need to rely on AttachmentsResponseProcessorInterface instead of the specific HtmlResponseAttachmentsProcessor implementation when injecting a dependency.

Proposed resolution

Change the autowire in ApiController.

🐛 Bug report
Status

Active

Version

1.0

Component

Main / Misc.

Created by

🇫🇷France pdureau Paris

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

Merge Requests

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