Project

General

Profile

User story #12414

Make reporting work when targeting several time the same item with several generic method

Added by Nicolas CHARLES about 1 year ago. Updated 11 months ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Suggestion strength:
User visibility:
Effort required:
Tags:

Description

For the moment, if we manage twice key->value in the same file, at best we have leakage of reporting from the first GM to the second, at worse the second never reports

For this, I leverage class_prefix, by effectively using it, not having unused definition everywhere
It needs knowledge of the defined classed in the inner method though


Subtasks

User story #12441: Avoid duplicating the class clariable in class_prefixReleasedBenoƮt PECCATTEActions
Bug #12442: Broken reporting for generic method file_ensure_key_value_optionReleasedNicolas CHARLESActions
Bug #12451: In some methods reporting is broken because class_prefix is not correctly updated when using another method ReleasedNicolas CHARLESActions

Related issues

Related to ncf - User story #12426: Use the new class_prefix for service methodsRejectedActions
Related to ncf - Architecture #12427: Use the new class_prefix for package methodsReleasedActions
Has duplicate ncf - Bug #12423: Missing report for Service enabled at boot on RHEL7 for httpdRejectedActions
Has duplicate Rudder - Bug #11129: Using of two "File ensure key value in parameter list" methods in the same technique causes the second one to report failed if the first one fails.RejectedActions
Has duplicate Rudder - Bug #10838: File content (Key/value pair) reports for all entries, even if only one changesRejectedActions

Associated revisions

Revision d41ed781 (diff)
Added by Nicolas CHARLES about 1 year ago

Fixes #12414: Make reporting work when targeting several time the same item with several generic method

History

#1

Updated by Nicolas CHARLES about 1 year ago

  • Status changed from New to In progress
#2

Updated by Nicolas CHARLES about 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/ncf/pull/734
#3

Updated by Alexis MOUSSET about 1 year ago

  • Has duplicate Bug #12423: Missing report for Service enabled at boot on RHEL7 for httpd added
#4

Updated by Nicolas CHARLES about 1 year ago

  • Status changed from Pending technical review to Pending release
#5

Updated by Alexis MOUSSET about 1 year ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.3.0 which was released today.

#6

Updated by Alexis MOUSSET 11 months ago

#7

Updated by Alexis MOUSSET 11 months ago

#8

Updated by Nicolas CHARLES 10 months ago

  • Has duplicate Bug #11129: Using of two "File ensure key value in parameter list" methods in the same technique causes the second one to report failed if the first one fails. added
#9

Updated by Nicolas CHARLES 10 months ago

  • Has duplicate Bug #10838: File content (Key/value pair) reports for all entries, even if only one changes added

Also available in: Atom PDF