Project

General

Profile

Actions

Bug #5923

closed

System rule are modified when trying to delete a directive

Added by François ARMAND almost 10 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
3
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Since #5875, it is not possible anymore to delete system directives.

None the less, when we try to delete one, we start by removing the directive from all rules it appears on, and then try to delete it. It's desastrous in that case: we are ending with system rules missing their directive.

We should start by deleting the directive, and if and only if it works, try to delete the directive from rule. And nicelly handle missing directive in rules.

The other solution is to REALLY check where we want to actually modify system rules, and clearly seperate modify rules / modify system rules


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #5875: It should not be possible to delete system directivesReleasedFrançois ARMAND2014-11-29Actions
Actions

Also available in: Atom PDF