Project

General

Profile

Actions

Bug #24424

open

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

Added by Elaad FURREEDAN about 2 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:
62
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 (1 open0 closed)

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

Updated by Elaad FURREEDAN about 2 months ago

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

Updated by Elaad FURREEDAN about 1 month ago

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

Updated by Vincent MEMBRÉ 28 days ago

  • Target version changed from 8.0.7 to 8.0.8
Actions #4

Updated by Vincent MEMBRÉ 5 days ago

  • Target version changed from 8.0.8 to 8.0.9
Actions

Also available in: Atom PDF