Project

General

Profile

Actions

Bug #12147

closed

We cannot use file_enforce_content with a list and enforce=true

Bug #12147: We cannot use file_enforce_content with a list and enforce=true

Added by Nicolas CHARLES almost 8 years ago. Updated over 3 years ago.

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

Description

If we use a list as a parameter for file_enforce_content and "enforce" is set to true, only the last value will be in the resulting file
Using {} for the list parameter is not enough, as it does not map to a within the generic method

We should make the generic method work as advertised

Updated by Nicolas CHARLES almost 8 years ago Actions #1

  • Status changed from New to In progress

Updated by Nicolas CHARLES almost 8 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/707

Updated by Rudder Quality Assistant almost 8 years ago Actions #3

  • Assignee changed from Alexis Mousset to Nicolas CHARLES

Updated by Nicolas CHARLES almost 8 years ago Actions #4

  • Status changed from Pending technical review to Pending release

Updated by Alexis Mousset almost 8 years ago Actions #5

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.11, 4.2.5 and 4.3.0~rc3 which were released today.

Updated by Alexis Mousset over 3 years ago Actions #6

  • Project changed from 41 to Rudder
  • Category changed from Generic methods - File Management to Generic methods
Actions

Also available in: PDF Atom