8000 Firewall: Automation: Move selected rule before this rule issues · Issue #8607 · opnsense/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Firewall: Automation: Move selected rule before this rule issues #8607

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
Monviech opened this issue May 7, 2025 · 0 comments · Fixed by #8783
Closed
2 tasks done

Firewall: Automation: Move selected rule before this rule issues #8607

Monviech opened this issue May 7, 2025 · 0 comments · Fixed by #8783
Assignees
Labels
cleanup Low impact changes
Milestone

Comments

@Monviech
Copy link
Member
Monviech commented May 7, 2025

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

When changing the sequence of rules with the "Move selected rule before this rule" button, both the selected and the moved rule will have the same sequence number afterwards.

This makes it look like from a GUI perspective as if the rule did not move to the correct spot, as the sort order for both rules will be the same.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Firewall: Automation: Filter'
  2. Create three firewall rules in Floating with the following sequence:
    Rule A. 300
    Rule B. 350
    Rule C. 352
  3. Select the rule 352 and press "move selected rule before this rule" on rule 350.
  4. The rules will now have this sequence:
    Rule A. 300
    Rule B. 350
    Rule C. 350

A clear and concise description of what you expected to happen.

I would have expected this sequence unless there is no available gap:
Rule A. 300
Rule C. 325
Rule B. 350

A clear and concise description of any alternative solutions or workaround you considered.

Adjusting the sequence manually gives the expected result.

Environment

Software version used and hardware type if relevant, e.g.:

OPNsense 25.1.5 (amd64)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Low impact changes
3 participants
0