Project

General

Profile

Actions

Bug #24236

closed

Overriding properties should have the same type as overridden

Added by Clark ANDRIANASOLO 3 months ago. Updated about 2 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
I dislike using that feature
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Medium
Priority:
59
Name check:
To do
Fix check:
To do
Regression:
No

Description

With a global parameter of type json e.g. dns with value {"servers":["1.1.1.1"]}, it should not be possible to override the property with a raw string value e.g. "9.9.9.9" because it may break policy generation.

We have to :
  • enforce that a overriding property be of the same type as the overridden
  • warn about any existing inconsistencies within a node or group that overrides a property
  • warn heavily when changing the type of a property which already has overrides, knowing the hierarchy global parameter > group > node for properties inheritance. The user should have a list of affected groups or nodes when making such change
Actions

Also available in: Atom PDF