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 over 3 years ago. Updated about 3 years ago.

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

100%

Estimated time:
Plus Target Version:
22.01
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 over 3 years 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 3 years ago

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

Updated by Viktor Gurov about 3 years ago

  • Assignee set to Viktor Gurov
Actions #5

Updated by Jim Pingle about 3 years 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 about 3 years 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 #7

Updated by Jim Pingle about 3 years ago

  • Plus Target Version changed from 21.09 to 22.01
Actions

Also available in: Atom PDF