Project

General

Profile

Feature #8371

Reduce config.xml size by removing picture widget images to file system

Added by Steve Beaver over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Config upgrade
Target version:
Start date:
03/16/2018
Due date:
% Done:

0%

Estimated time:

Description

Images now saved in /conf
Upgrade_config function writes any images out to file system and truncates the config.xml entry

History

#1 Updated by Steve Beaver over 1 year ago

  • Private changed from No to Yes

#2 Updated by Jim Pingle over 1 year ago

  • Private changed from Yes to No

#3 Updated by Chris Macmahon over 1 year ago

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!!

#4 Updated by Jim Pingle over 1 year ago

  • 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.

#5 Updated by Steve Beaver over 1 year ago

  • Status changed from Assigned to Feedback

#6 Updated by Jim Pingle over 1 year ago

  • Status changed from Feedback to Resolved

Works OK now, and no PHP errors when the picture is missing.

Also available in: Atom PDF