Feature #8371
closed
Reduce config.xml size by removing picture widget images to file system
Added by Anonymous over 6 years ago.
Updated over 6 years ago.
Category:
Configuration Upgrade
Description
Images now saved in /conf
Upgrade_config function writes any images out to file system and truncates the config.xml entry
Files
- Private changed from No to Yes
- Private changed from Yes to No
new VM, setup picture, downloaded a backup. reset to factory defaults, restored backup, no Image in the widget: Screenshot from 2018-03-16 13-49-21.png!!
- Status changed from Feedback to Assigned
Upgraded with a picture in the widget and it was broken after the upgrade. No sign of the image in /conf/
Missing picture results in a PHP error:
[16-Mar-2018 14:32:10 America/Indiana/Indianapolis] PHP Warning: file_get_contents(/conf/widget_image.picture-0): failed to open stream: No such file or directory in /usr/local/www/widgets/widgets/picture.widget.php on line 32
Storing a new picture works as expected.
- Status changed from Assigned to Feedback
- Status changed from Feedback to Resolved
Works OK now, and no PHP errors when the picture is missing.
- Related to Bug #12774: Picture widget image is not saved in backup added
Also available in: Atom
PDF