Project

General

Profile

Actions

Bug #6350

closed

Auto Config Backup - Uncaught Exception

Added by Simon Trigona almost 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
AutoConfigBackup
Target version:
-
Start date:
05/12/2016
Due date:
% Done:

0%

Estimated time:
2.00 h
Plus Target Version:
Affected Version:
2.3
Affected Plus Version:
Affected Architecture:
All

Description

When attempting to "Show Info" and unable to decrypt the backup, the following warning is generated:

Warning: Invalid argument supplied for foreach() in /usr/local/www/autoconfigbackup.php on line 416 Call Stack: 0.0001 232040 1. {main}() /usr/local/www/autoconfigbackup.php:0 

Looking through the file in question: https://github.com/pfsense/FreeBSD-ports/blob/devel/sysutils/pfSense-pkg-AutoConfigBackup/files/usr/local/www/autoconfigbackup.php you probably need to fall back onto loading the backup list if loading a backup fails. Do this by running this block: https://github.com/pfsense/FreeBSD-ports/blob/devel/sysutils/pfSense-pkg-AutoConfigBackup/files/usr/local/www/autoconfigbackup.php#L250-L293 if the previous "download" block generates any errors.

Actions #1

Updated by Jim Thompson over 7 years ago

  • Assignee set to Anonymous
Actions #2

Updated by Anonymous over 7 years ago

  • Status changed from New to Feedback
  • Assignee changed from Anonymous to Simon Trigona

Fixed by populating version table when info request fails

Actions #3

Updated by Simon Trigona over 7 years ago

Steve Beaver wrote:

Fixed by populating version table when info request fails

I don't remember what package version my initial bug report was for. I have v 1.4.7 installed and it does not display any errors, but does not display the list of available backups for the selected host.

When this fix/change is released, I will be able test again.

Actions #4

Updated by Jim Pingle over 4 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF