Document dangers around image style deletion for public wrappers

Created on 7 June 2022, almost 3 years ago
Updated 8 August 2023, over 1 year ago

Problem/Motivation

I filed a bug against drupal core in #3284521: Image Styles Entity wrongly assumes styles folder always contains image styles. β†’ about the dangers of the imageStyle::flush() command and it's ability to trash data inadvertently. In that issue, I describe how we had a clone of the production Filesystem Wrapper stored in our schemes to aide in file copying files from production to our local development environments. By doing so, everytime someone made an image style change locally, it would also flush that same image style on production. Frankly we didn't know what was happening until I did some digging.

I propose that we document this.

πŸ“Œ Task
Status

Fixed

Version

2.1

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States generalredneck Texas, USA πŸ‡ΊπŸ‡Έ

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

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