Do not fetch default image toolkit ID in ImageFactory::__construct()

Created on 1 July 2025, 3 days ago

Problem/Motivation

Fetching the default toolkit means loading config, we shouldn't do that in a constructor.

With DI, the ImageFactory is injected into hooks, plugins and preprocess stuff even though it might not actually be required in a given scenario.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

image system

Created by

πŸ‡¨πŸ‡­Switzerland berdir Switzerland

Live updates comments and jobs are added and updated live.
  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024