Project

General

Profile

Actions

Bug #4302

closed

Directive based on a modified Technique should be saved.

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

Status:
Rejected
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

With ticket #4289, we saw that when a metatechnique change (i.e: is commited into the repository), then we must also save back all directives based on it.

This is exacerbated with metatechnique because we don't update their version on each change AND almost all change leads to a modification of the metadata.xml AND these modifications are related to variables AND these variable values are used in reporting so that the absence of a directive change leads to a missing report value in the LDAP object of the directive.

But the same kind of problem could be found in regular technique, if the metadata.xml is modified to add some variable whose value will be used in reports. So shouldn't we backport the logic of the correction in #4289 into version of Rudder older than 2.9.0 ?

Note: we didn't handled that case for now, using the argument: it's not a supported use case, if you want to change the metadata.xml, either use a different version or assume the consequences of your choice.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #4289: When a Technique is updated, Directives based on that Technique are not updatedReleasedFrançois ARMAND2013-12-26Actions
Actions

Also available in: Atom PDF