Project

General

Profile

Bug #12147

We cannot use file_enforce_content with a list and enforce=true

Added by Nicolas CHARLES 10 months ago. Updated 8 months ago.

Status:
Released
Priority:
N/A
Category:
Generic methods - File Management
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

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

Associated revisions

Revision 1ffd31f2 (diff)
Added by Nicolas CHARLES 10 months ago

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

History

#1 Updated by Nicolas CHARLES 10 months ago

  • Status changed from New to In progress

#2 Updated by Nicolas CHARLES 10 months 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/707

#3 Updated by Normation Quality Assistant 10 months ago

  • Assignee changed from Alexis MOUSSET to Nicolas CHARLES

#4 Updated by Nicolas CHARLES 9 months ago

  • Status changed from Pending technical review to Pending release

#5 Updated by Alexis MOUSSET 8 months ago

  • 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.

Also available in: Atom PDF