Project

General

Profile

Actions

Feature #8371

closed

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

Added by Anonymous about 6 years ago. Updated about 6 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


Related issues

Related to Bug #12774: Picture widget image is not saved in backupNew

Actions
Actions #1

Updated by Anonymous about 6 years ago

  • Private changed from No to Yes
Actions #2

Updated by Jim Pingle about 6 years ago

  • Private changed from Yes to No
Actions #3

Updated by Chris Macmahon about 6 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 about 6 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 Anonymous about 6 years ago

  • Status changed from Assigned to Feedback
Actions #6

Updated by Jim Pingle about 6 years ago

  • Status changed from Feedback to Resolved

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

Actions #7

Updated by Jim Pingle about 2 years ago

  • Related to Bug #12774: Picture widget image is not saved in backup added
Actions

Also available in: Atom PDF