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 10 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
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 10 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 10 months ago

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

Updated by Viktor Gurov 10 months ago

  • Assignee set to Viktor Gurov
Actions #5

Updated by Jim Pingle 9 months 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 9 months 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 7 months ago

  • Plus Target Version changed from 21.09 to 22.01
Actions

Also available in: Atom PDF