Project

General

Profile

Actions

Bug #25148

closed

Rudderc fails to render "plain" variables on Windows

Added by Félix DALLIDET 5 months ago. Updated 5 months ago.

Status:
Released
Priority:
N/A
Category:
rudderc
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

It looks like the technique rendering of variable calls such as ${plouf.plouf} are failing.
They are translated as raw string without their braces.

See the example below:

test ${bundle.plouf}

Will be translated in the technique.ps1 file to:

        Lines = @'
test 
'@ + @'
bundle.plouf
'@

The parsing seems correct, the issue seems to come from the force_long_name_for_technique_param function which translates short technique names to their long equivalent.

Actions #1

Updated by Félix DALLIDET 5 months ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET 5 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder/pull/5770
Actions #3

Updated by Félix DALLIDET 5 months ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Alexis Mousset 5 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.2.0~alpha1 which was released today.

Actions

Also available in: Atom PDF