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 3 years ago.
Updated almost 3 years ago.
Category:
Aliases / Tables
Plus Target Version:
22.01
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
- Status changed from New to Pull Request Review
- Target version set to 2.6.0
- Plus Target Version set to 21.09
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
- Assignee set to Viktor Gurov
- 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.
- 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
- Plus Target Version changed from 21.09 to 22.01
Also available in: Atom
PDF