Actions
Bug #8889
closedSetup Wizard PHP error when LAN has no DHCP configuration
Start date:
09/12/2018
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4
Affected Architecture:
All
Description
If you remove LAN and then add it back, then run the Setup Wizard, a PHP error will result.
Removing the LAN removes the DHCP settings, and the way the wizard uses the DHCP settings array, it leads to a PHP error because they are not there.
[12-Sep-2018 19:36:29 Etc/UTC] PHP Warning: Illegal string offset 'lan' in /usr/local/www/wizard.php(114) : eval()'d code on line 47 [12-Sep-2018 19:36:29 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot use string offset as an array in /usr/local/www/wizard.php(114) : eval()'d code:47 Stack trace: #0 /usr/local/www/wizard.php(114): eval() #1 {main} thrown in /usr/local/www/wizard.php(114) : eval()'d code on line 47
Updated by Jim Pingle over 6 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 7c15c19d76eac725c42133012488cb97e4dcd885.
Updated by Jim Pingle over 6 years ago
- Target version changed from 2.4.4-GS to 2.4.4
Updated by Jim Pingle over 6 years ago
- Status changed from Feedback to Resolved
Fix tests OK with a gitsync to RELENG_2_4_4, but the fix is not yet in the RC images, will be in -RELEASE.
Actions