Project

General

Profile

Actions

Bug #14095

open

Removing an interface group does not remove rules for the interface group

Added by Danilo Zrenjanin 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

If an Alias was used in a rule on an Interface Group, after removing the interface group, you won't be able to delete that alias.

Steps to reproduce:
1.) Define an Alias "Test" and add some records.
2.) Define Interface Group using two interfaces.
3.) Define a rule using the Alias "Test" as the destination on the Interface Group interface.
4.) Remove the Interface Group.
5.) Try to delete the interface Alias and you'll get error message "Cannot delete alias. Currently in use by filter rule id 3."


Related issues

Related to Feature #14144: Improve support for renaming interface groupsNew

Actions
Actions #1

Updated by Jim Pingle 3 months ago

  • Subject changed from Can't remove Alias to Removing an interface group does not remove rules for the interface group
  • Category changed from Aliases / Tables to Interfaces

This isn't an alias problem, the alias code is doing what it should and preventing you from removing an item that's in use in rules.

The problem here is that when removing an interface group, the rules referencing that group are not removed and they are left orphaned in the configuration with no way to remove them.

Actions #2

Updated by Jim Pingle 2 months ago

  • Related to Feature #14144: Improve support for renaming interface groups added
Actions

Also available in: Atom PDF