Actions
Bug #12543
closedDeleteing a Outbound NAT rule gave me an empty rule and displayed php error in UI.
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:
Description
When managing Outbound NAT rules
I managed to remove a duplicate rule
Which gave me the following error:
/firewall_nat_out.php: New alert found: PHP ERROR: Type: 1, File: /usr/local/www/firewall_nat_out.php, Line: 217, Message: Uncaught Error: Cannot use string offset as an array in /usr/local/www/firewall_nat_out.php:217
This error appeared in the Outbound NAT UI and prevented me from making further changes to these rules, other GUI functionality was also comprised also (E.g. dropdowns in the top navigation)
Unfortunately, I do not have a screenshot of this.
My steps to resolve this:- Edit /cf/conf/config.xml
- Remove empty rule <rule></rule> from <outbound>
- Save File
- Reload NAT outbound UI
My Version
2.5.2-RELEASE (amd64) built on Fri Jul 02 15:33:00 EDT 2021 FreeBSD 12.2-STABLE
Actions