Actions
Bug #6350
closedAuto Config Backup - Uncaught Exception
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