Project

General

Profile

Bug #15504

Technique Editor accept invalid character (-) in condition

Added by Alexander Brunhirl 3 months ago. Updated 2 months ago.

Status:
Released
Priority:
N/A
Category:
Technique editor - UI/UX
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Very Small
Priority:
79

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

Related to ncf - Bug #15770: Cannot create 'or' condition in technique editor (using | character)ReleasedActions

Associated revisions

Revision 63a38b07 (diff)
Added by Vincent MEMBRÉ 3 months ago

Fixes #15504: Technique Editor accept invalid character (-) in condition

History

#1

Updated by Vincent MEMBRÉ 3 months 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

#2

Updated by Vincent MEMBRÉ 3 months ago

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

Updated by Vincent MEMBRÉ 3 months ago

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

Updated by Vincent MEMBRÉ 3 months 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
#5

Updated by Vincent MEMBRÉ 3 months ago

  • Status changed from Pending technical review to Pending release
#6

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 5.0.14 to 5.0.13
#8

Updated by Vincent MEMBRÉ 2 months ago

  • Status changed from Pending release to Released

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

#9

Updated by Vincent MEMBRÉ about 2 months ago

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

Also available in: Atom PDF