Image field not saving files permanently

Created on 26 July 2024, 4 months ago
Updated 11 September 2024, 2 months ago

Problem/Motivation

Images are not saved permanently when updating configuration. The logo will disappear after a cron run or site rebuild.

Steps to reproduce

  1. Upload an image to the Login service logo
  2. Save the file
  3. Once cron runs or temporary files are deleted, notice that the image is not displayed or saved in configuration

Proposed resolution

The configuration form does not have the proper calls to save the file permanently. Make sure there are "()" next to these lines:

   $file->setPermanent();
   $file->save();
πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jminarick

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024