Active
Project:
Drupal core
Version:
main
Component:
image system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2026 at 14:22 UTC
Updated:
9 Apr 2026 at 17:46 UTC
Jump to comment: Most recent
In #3567618: Create service for image_path_flush, image_style_options and constant for IMAGE_DERIVATIVE_TOKEN I noticed a bunch of formatters directly inject the storage or set it in the constructor.
This can result in a stale reference to the storage object.
Also remove the create method where possible.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
nicxvan commentedComment #3
claudiu.cristeaSee also #3162827: Do not instantiate entity storages in constructors of services that do not always need them
Comment #4
amateescu commentedBlocker is in.