Todo #14399
closedCombining Interface and Rule ID state table filter fields returns no results
100%
Description
Steps to reproduce:
1. Diagnostics > States. Leave everything default (Interface: all, Filter expression and Rule ID fields blank) and click Filter. That will show all open states on the system, as expected.
2. Grab a rule ID from ..status.php#FirewallpfFirewallRules. In this case I'm using the default anti-lockout rule on the LAN interface (rule 79).
3. With Interface set to all, enter 79 for the Rule ID. This shows open states for the rule when I log in to the GUI.
4. Now set the Interface dropdown to LAN, keeping the Rule ID. Nothing is shown when applying the filter. If I remove the Rule ID and rerun the filter on just the LAN, the states are returned again as expected.
Files
Updated by Steve Wheeler about 1 year ago
This is not a bug it's the expected behaviour. Probably just not implemented yet:
https://github.com/pfsense/FreeBSD-ports/blob/devel/devel/php-pfSense-module/files/pfSense.c#L2756
if (filter_if && filter_rl) RETURN_NULL();
Updated by Chris W about 1 year ago
- Tracker changed from Bug to Todo
- Affected Plus Version deleted (
23.01)
Updated by Steve Wheeler about 1 year ago
- Status changed from New to Confirmed
- Target version set to 23.09
The page should return an error indicating that search combination is invalid.
Updated by Jim Pingle almost 1 year ago
- Project changed from pfSense Plus to pfSense
- Category changed from Web Interface to Diagnostics
- Status changed from Confirmed to In Progress
- Assignee set to Jim Pingle
- Target version changed from 23.09 to 2.8.0
- Plus Target Version set to 23.09
Not specific to plus
I'll add an input validation error if both are filled in.
Updated by Jim Pingle almost 1 year ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Applied in changeset 1b6b8b4c9c1e187d3a55f7fdb5dd8a22252caf06.
Updated by Jim Pingle 12 months ago
- Status changed from Feedback to Resolved
Input validation error is printed as expected, other queries still work.