Actions
Bug #12694
closedPHP error when clicking Delete on Outbound NAT with no rules selected
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
22.01
Release Notes:
Default
Affected Version:
Affected Architecture:
Description
After pressing Delete button without selecting any NAT rule I got a PHP crash as follow:
PHP Errors: [18-Jan-2022 10:53:05 America/Sao_Paulo] PHP Warning: Invalid argument supplied for foreach() in /usr/local/pfSense/include/www/firewall_nat_out.inc on line 496
Updated by Jim Pingle almost 3 years ago
- Subject changed from Outbound NAT: Error when press delete button without select rules to PHP error when clicking Delete on Outbound NAT with no rules selected
- Status changed from New to In Progress
Updated by Jim Pingle almost 3 years ago
- Status changed from In Progress to Pull Request Review
Updated by Scott Long almost 3 years ago
- Status changed from Pull Request Review to Feedback
Updated by Jim Pingle almost 3 years ago
- % Done changed from 0 to 100
Applied in changeset f783d68bd1708f7845fc21f035b4f3232a6f435d.
Updated by Danilo Zrenjanin almost 3 years ago
Tested on:
2.6.0-RC (amd64) built on Mon Jan 17 23:21:01 UTC 2022 FreeBSD 12.3-STABLE
I was able to replicate the issue.
With the patch installed, it's gone. The ticket can be resolved.
Updated by Jim Pingle almost 3 years ago
- Status changed from Feedback to Resolved
Same here. No more PHP error when attempting to reproduce the problem. Selecting and deleting items still works as expected.
Actions