Project

General

Profile

Actions

Bug #12543

closed

Deleteing a Outbound NAT rule gave me an empty rule and displayed php error in UI.

Added by C J over 2 years ago. Updated over 1 year ago.

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 #1

Updated by C J over 2 years ago

There's a horrible spelling mistake in the title but I can't edit.. Sorry!

Actions #2

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.

Actions #3

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.

Actions #4

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.

Actions #5

Updated by Viktor Gurov about 2 years ago

  • Status changed from New to Feedback
Actions #6

Updated by Alhusein Zawi over 1 year ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF