Project

General

Profile

Actions

User story #12414

closed

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

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

Added by Nicolas CHARLES over 7 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

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 3 (0 open3 closed)

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 5 (0 open5 closed)

Related to Rudder - User story #12426: Use the new class_prefix for service methodsRejectedAlexis MoussetActions
Related to Rudder - Architecture #12427: Use the new class_prefix for package methodsReleasedAlexis MoussetActions
Has duplicate Rudder - Bug #12423: Missing report for Service enabled at boot on RHEL7 for httpdRejectedAlexis MoussetActions
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

Updated by Nicolas CHARLES over 7 years ago Actions #1

  • Status changed from New to In progress

Updated by Nicolas CHARLES over 7 years ago Actions #2

  • 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

Updated by Alexis Mousset over 7 years ago Actions #3

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

Updated by Nicolas CHARLES over 7 years ago Actions #4

  • Status changed from Pending technical review to Pending release

Updated by Alexis Mousset over 7 years ago Actions #5

  • Status changed from Pending release to Released

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

Updated by Alexis Mousset over 7 years ago Actions #6

Updated by Alexis Mousset over 7 years ago Actions #7

Updated by Nicolas CHARLES over 7 years ago Actions #8

  • 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

Updated by Nicolas CHARLES over 7 years ago Actions #9

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

Updated by Alexis Mousset over 3 years ago Actions #10

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods
Actions

Also available in: PDF Atom