Project

General

Profile

Bug #11744

file_from_string_mustache inserts only ${content}

Added by Nicolas CHARLES 5 months ago. Updated 4 months ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:

Description

I tried to used filr_from_string_mustache, and it failed :(
I tries to check with the unit test, and there aren't any

We need to add a unit test for this method, and fix it

Associated revisions

Revision e8d42220 (diff)
Added by Alexis MOUSSET 5 months ago

Fixes #11744: file_from_string_mustache inserts only ${content}

History

#1 Updated by Alexis MOUSSET 5 months ago

  • Status changed from New to In progress
  • Assignee set to Alexis MOUSSET

#2 Updated by Alexis MOUSSET 5 months ago

  • Status changed from In progress to New
  • Assignee deleted (Alexis MOUSSET)

The problem is that the error case is not managed like with file-based templating.

#3 Updated by Alexis MOUSSET 5 months ago

  • Status changed from New to Pending technical review
  • Assignee set to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/ncf/pull/653

#4 Updated by Alexis MOUSSET 5 months ago

  • Status changed from Pending technical review to Pending release

#5 Updated by Vincent MEMBRÉ 4 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.9 and 4.2.3 which were released today.

Also available in: Atom PDF