Problem/Motivation
Images are not saved permanently when updating configuration. The logo will disappear after a cron run or site rebuild.
Steps to reproduce
- Upload an image to the Login service logo
- Save the file
- 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();
Issue fork hybrid_login-3464073
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
Comment #3
jminarick commentedComment #4
majorrobot commented@jminarick -- this looks good to me. Tried it out, and it fixes the issue.
Comment #5
jminarick commentedComment #6
jminarick commentedComment #7
jminarick commentedComment #8
jminarick commented