Project

General

Profile

Actions

Bug #23664

open

rudderc may produce malformed powershell scripts

Added by Félix DALLIDET 7 months ago. Updated 14 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
rudderc
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
I hate Rudder for that
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Priority:
82
Name check:
To do
Fix check:
To do
Regression:
No

Description

To reproduce, try to define a technique with the following content as input of any of the methods:

test $(grep -Pr --include=*.{sources,conf} '^\h*server\h+\H+' /etc/chrony/ | wc -l) -ge 3

The resulting powershell technique will have at least one line looking like:

$componentKey = "test $(grep -Pr --include=*.{sources,conf} '^\h*server\h+\H+' /etc/chrony/ | wc -l) -ge 3" 

which is un-parsable for powershell as the comma is interpreted as a comma operator to define a list due to the `$()` used in the field.

Actions #1

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 8.0.1 to 8.0.2
Actions #2

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 8.0.2 to 8.0.3
Actions #3

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 8.0.3 to 8.0.4
Actions #4

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 8.0.4 to 8.0.5
  • Priority changed from 89 to 88
Actions #5

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 8.0.5 to 8.0.6
  • Priority changed from 88 to 86
Actions #6

Updated by Vincent MEMBRÉ 2 months ago

  • Target version changed from 8.0.6 to 8.0.7
  • Priority changed from 86 to 85
Actions #7

Updated by Vincent MEMBRÉ about 1 month ago

  • Target version changed from 8.0.7 to 8.0.8
  • Priority changed from 85 to 83
Actions #8

Updated by Vincent MEMBRÉ 14 days ago

  • Target version changed from 8.0.8 to 8.0.9
  • Priority changed from 83 to 82
Actions

Also available in: Atom PDF