Project

General

Profile

Actions

Bug #5923

closed

System rule are modified when trying to delete a directive

Added by François ARMAND over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
3
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
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 #1

Updated by François ARMAND over 7 years ago

  • Status changed from 8 to Pending technical review
  • Assignee set to Nicolas CHARLES
Actions #2

Updated by François ARMAND over 7 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #4

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.8 and 2.11.5, which were released today (16/12/14)

Actions

Also available in: Atom PDF