Project

General

Profile

Bug #5923

System rule are modified when trying to delete a directive

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

Status:
Released
Priority:
3
Category:
Web - Config management
Target version:
Pull Request:
Severity:
User visibility:
Effort required:
Priority:

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

Related to Rudder - Bug #5875: It should not be possible to delete system directivesReleased2014-11-29François ARMANDActions
#1

Updated by François ARMAND over 5 years ago

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

Updated by François ARMAND over 5 years ago

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

Updated by Vincent MEMBRÉ over 5 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)

Also available in: Atom PDF