Referencing entities should be saved even if no resize was applied

Created on 14 September 2023, 9 months ago

Problem/Motivation

This module supports resizing and conversion of image formats. This is why referencing entities should be saved even if no resize was applied. Currently not resized, but converted images do not lead to the referencing entities to be saved. This is why caches for thos such as media entity are not cleared.

Steps to reproduce

  • Configure a high resultion for the resizing such as 4000 x 4000 px
  • And set "Enforce image type" to webp
  • Upload a 100 x 100 px jpg image and add it to a media entity
  • View the new media entity
  • Queue the image for resizing
  • After the resizing took place, the old image is still in the render cache

Proposed resolution

Save the referencing entities even if the image wasn't resized,

Remaining tasks

Provide a MR

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland Lukas von Blarer

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

Comments & Activities

Production build 0.69.0 2024