Project

General

Profile

Actions

Bug #15504

closed

Technique Editor accept invalid character (-) in condition

Added by Alexander Brunhirl over 4 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Very Small
Priority:
66
Name check:
To do
Fix check:
Checked
Regression:

Description

Hi,

in a conditions by classes - (minus) seems to get validated, but later destroys the policy generation.

  Policy update error for process '16944' at 2019-08-19 16:39:42 
         ⇨ Cannot write configuration node 
         ⇨ Exit code=1 for hook: '/opt/rudder/etc/hooks.d/policy-generation-node-ready/10-cf-promise-check'.
         stdout: 
         stderr: '/var/rudder/share/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/share/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/rules.new/cfengine-community/Test/1.0/rudder_reporting.cf:18:5: error: syntax error
         !(any.(group_sles12-sp2))::
         ^

Best regards,
Alex

System: SLES11 SP4
Rudder: 4.1.7
NCF: 1.1.0


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #15770: Cannot create 'or' condition in technique editor (using | character)ReleasedFrançois ARMANDActions
Actions #1

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version set to 5.0.14
  • Severity set to Minor - inconvenience | misleading | easy workaround
  • Effort required set to Very Small
  • Priority changed from 0 to 79

Thank you Alex for reporting this !

Targeting it for next minor

Actions #2

Updated by Vincent MEMBRÉ over 4 years ago

  • Subject changed from NCF Editor input validation to Technique Editor accept invalid character (-) in condition
Actions #3

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
Actions #4

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/ncf/pull/1051
Actions #5

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:63a38b076045fae27f3f71159e1d6ba0f53d1878.

Actions #6

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.14 to 5.0.13
Actions #7

Updated by Vincent MEMBRÉ over 4 years ago

  • Fix check changed from To do to Checked
Actions #8

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.13 which was released today.

Actions #9

Updated by Vincent MEMBRÉ over 4 years ago

  • Related to Bug #15770: Cannot create 'or' condition in technique editor (using | character) added
Actions #10

Updated by Alexis Mousset almost 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Technique editor - UI/UX to Web - Technique editor
  • Priority changed from 79 to 66
Actions

Also available in: Atom PDF