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();
Command icon Show commands

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

jminarick created an issue. See original summary.

jminarick’s picture

Status: Active » Needs review
majorrobot’s picture

Status: Needs review » Reviewed & tested by the community

@jminarick -- this looks good to me. Tried it out, and it fixes the issue.

jminarick’s picture

jminarick’s picture

jminarick’s picture

Status: Reviewed & tested by the community » Fixed
jminarick’s picture

Status: Fixed » Closed (fixed)