Bug #12543
closedDeleteing a Outbound NAT rule gave me an empty rule and displayed php error in UI.
0%
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
Updated by C J over 2 years ago
There's a horrible spelling mistake in the title but I can't edit.. Sorry!
Updated by Alhusein Zawi over 2 years ago
what are steps to produce the issue?
I was not able to produce it , deleted duplicated outbound NAT rules without seeing the issue.
Updated by Danilo Zrenjanin over 2 years ago
I couldn't replicate it either.
I created/deleted duplicate entries with no issues in Manual/Hybrid mode.
We would need more details on how to replicate this bug report.
Updated by Kris Phillips over 2 years ago
I also was not able to reproduce this. This bug report should be marked as Feedback until we can determine the steps to reproduce.
Updated by Alhusein Zawi almost 2 years ago
- Status changed from Feedback to Closed