Project

General

Profile

Actions

Feature #8371

closed

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

Added by Steve Beaver over 3 years ago. Updated over 3 years ago.

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

0%

Estimated time:
Plus Target Version:
Release Notes:

Description

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


Files

Actions #1

Updated by Steve Beaver over 3 years ago

  • Private changed from No to Yes
Actions #2

Updated by Jim Pingle over 3 years ago

  • Private changed from Yes to No
Actions #3

Updated by Chris Macmahon over 3 years 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!!

Actions #4

Updated by Jim Pingle over 3 years 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.

Actions #5

Updated by Steve Beaver over 3 years ago

  • Status changed from Assigned to Feedback
Actions #6

Updated by Jim Pingle over 3 years ago

  • Status changed from Feedback to Resolved

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

Actions

Also available in: Atom PDF