Bug #14523
openError with pfblockerng_category_edit
0%
Description
Confirmed on both 2.6, 2.7-RC and 23.05 using pfBlockerNG-Devel 3.2.0_5 and 3.2.0_4. Removing pfBlockerNG-devel package after disabling 'keep settings', reinstalling and restoring config from pfSense backup did not help.
While using custom destination alias in Advanced Inbound/Outbound Firewall Rule Settings, upon saving the Alias is lost from the pfBlockerNG rule entry and this error is returned:
PHP ERROR: Type: 1, File: /usr/local/www/pfblockerng/pfblockerng_category_edit.php, Line: 447, Message: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /usr/local/www/pfblockerng/pfblockerng_category_edit.php:447
Stack trace:
#0 {main}
Updated by Sengor K 5 months ago
I have narrowed it down to situation where 'Custom Source' alias name cannot be saved when using 'Host' type aliases (it can be saved when using Network type aliases). The 'Enable' checkbox is remembered across saves however the alias is forgotten with the aforementioned error message.