Make file deletion on cache rebuild optional

Created on 29 August 2022, about 2 years ago
Updated 3 June 2024, 3 months ago

Problem/Motivation

We consistently see Asset Injector file permission errors during cache rebuild ("The file permissions could not be set on public://asset_injector/..."). These are temporary but not fun on a production environment. The file deletion was added in #2869562: Deployment does not change asset files β†’ for deployment purposes, but this isn't relevant to our workflow, we use config_ignore so that we can treat Asset Injector items as content instead of config. We'd like to be able to disable this file deletion on cache rebuild.

Proposed resolution

Add a parameter to make this functionality optional

✨ Feature request
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States charginghawk

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