Project

General

Profile

Actions

Bug #12177

closed

When attempting to delete an in-use alias, input validation only prints the first item using the alias in the error message

Added by Viktor Gurov about 2 months ago. Updated 17 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Aliases / Tables
Target version:
Start date:
Due date:
% Done:

100%

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

Description

If you try to delete a used alias, only the first reference to the alias will be shown in the alert message box:

Cannot delete alias. Currently in use by Rule1.

find_alias_reference() should return an array of references, not just the first occurrence

Actions #2

Updated by Jim Pingle about 2 months ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.6.0
  • Plus Target Version set to 21.09
Actions #3

Updated by Anonymous about 1 month ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Viktor Gurov about 1 month ago

  • Assignee set to Viktor Gurov
Actions #5

Updated by Jim Pingle 26 days ago

  • Subject changed from deleteAlias() only shows the first alias reference to When attempting to delete an in-use alias, input validation only prints the first item using the alias in the error message

Updating subject for release notes.

Actions #6

Updated by Alhusein Zawi 17 days ago

  • Status changed from Feedback to Resolved

fixed

deleting a used alias returns all used rules.

"Cannot delete alias. Currently in use by rule1, rule2, rule4, rule3"

2.6.0.a.20210903.0100

Actions

Also available in: Atom PDF