Project

General

Profile

Actions

Bug #23664

open

rudderc may produce malformed powershell scripts

Added by Félix DALLIDET about 1 year ago. Updated 10 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:
74
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É about 1 year ago

  • Target version changed from 8.0.1 to 8.0.2
Actions #2

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 8.0.2 to 8.0.3
Actions #3

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 8.0.3 to 8.0.4
Actions #4

Updated by Vincent MEMBRÉ almost 1 year ago

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

Updated by Vincent MEMBRÉ 11 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É 10 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É 8 months ago

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

Updated by Vincent MEMBRÉ 8 months ago

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

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 8.0.9 to 8.0.10
  • Priority changed from 82 to 80
Actions #10

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 8.0.10 to 1089
  • Priority changed from 80 to 79
Actions #11

Updated by Alexis Mousset 5 months ago

  • Target version changed from 1089 to 8.1.6
  • Priority changed from 79 to 78
Actions #12

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 8.1.6 to 8.1.7
Actions #13

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 8.1.7 to 8.1.8
  • Priority changed from 78 to 75
Actions #14

Updated by Vincent MEMBRÉ about 1 month ago

  • Target version changed from 8.1.8 to 8.1.9
  • Priority changed from 75 to 74
Actions #15

Updated by Vincent MEMBRÉ 14 days ago

  • Target version changed from 8.1.9 to 8.1.10
Actions #16

Updated by Vincent MEMBRÉ 10 days ago

  • Target version changed from 8.1.10 to 8.1.11
Actions

Also available in: Atom PDF