Project

General

Profile

Actions

Bug #24424

open

Technique is disabled when there is a dash in a method condition

Added by Elaad FURREEDAN 8 months ago. Updated 5 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Technique editor
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
It bothers me each time
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
56
Name check:
To do
Fix check:
To do
Regression:
No

Description

I was trying to create a technique with condition_from_command and command_execution methods.
My condition name from condition_from_command contained some -, I was able to put this condition in command_execution conditions parameters.

When I try to deploy this technique on directive page, this directive was disabled because of an error

2024-03-12 14:42:20+0000 WARN  techniques.writer.rudderc -   -> stderr : ERROR rudderc: 
    |     command: ls /tmp/test-condition
    |     true_codes: '2'
    |     false_codes: '0'
 15 | - id: d92e2aa4-9181-44a6-a9dd-c467b9afa566
    |   ^ items[1]: Invalid condition expression: linux.condition-file-exist_false at line 15 column 5
    |   name: ''
    |   condition: linux.condition-file-exist_false
    |   method: command_execution

Stack backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: __libc_start_main
  11: <unknown>


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #24439: Clicking on technique in technique tree doesn't do anythingReleasedVincent MEMBRÉActions
Actions #1

Updated by Elaad FURREEDAN 8 months ago

  • Related to Bug #24439: Clicking on technique in technique tree doesn't do anything added
Actions #2

Updated by Elaad FURREEDAN 8 months ago

  • Target version changed from 8.1.0~beta2 to 8.0.7
Actions #3

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 8.0.7 to 8.0.8
Actions #4

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 8.0.8 to 8.0.9
Actions #5

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 8.0.9 to 8.0.10
  • Priority changed from 62 to 61
Actions #6

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 8.0.10 to 1089
  • Priority changed from 61 to 60
Actions #7

Updated by Alexis Mousset 4 months ago

  • Target version changed from 1089 to 8.1.6
  • Priority changed from 60 to 59
Actions #8

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 8.1.6 to 8.1.7
Actions #9

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 8.1.7 to 8.1.8
  • Priority changed from 59 to 57
Actions #10

Updated by Vincent MEMBRÉ 5 days ago

  • Target version changed from 8.1.8 to 8.1.9
  • Priority changed from 57 to 56
Actions

Also available in: Atom PDF