Project

General

Profile

Actions

Bug #10754

closed

Cannot add a directive with a " in its name in Rule

Added by Nicolas CHARLES over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Priority:
68
Name check:
Fix check:
Regression:

Description

A directive with a " in its name cannot be added in a rule

In 4.1, javascript error is:

SyntaxError: missing ) after argument list
https://192.168.42.2/rudder/secure/configurationManager/ruleManagement
Line 2

lickDirective("c9e099a0-1a0c-4537-82f7-d5401b17a51f", "my_ "techniqueé");;

in 3.1, we get a "Server cannot be contacted at this time"

Actions #1

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.20 to 3.1.21
Actions #2

Updated by François ARMAND over 7 years ago

  • Severity changed from Minor - inconvenience | misleading | easy workaround to Major - prevents use of part of Rudder | no simple workaround
  • User visibility changed from Operational - other Techniques | Technique editor | Rudder settings to Getting started - demo | first install | level 1 Techniques
  • Priority changed from 0 to 54
Actions #3

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.21 to 3.1.22
Actions #4

Updated by Benoît PECCATTE over 7 years ago

  • Priority changed from 54 to 69
Actions #5

Updated by Benoît PECCATTE over 7 years ago

  • Assignee set to Raphael GAUTHIER

It seems to be a javascript problem, so assigning to Raphael

Actions #6

Updated by Raphael GAUTHIER over 7 years ago

  • Status changed from New to In progress
  • Priority changed from 69 to 68
Actions #7

Updated by Raphael GAUTHIER over 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Raphael GAUTHIER to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/1702
Actions #8

Updated by Anonymous over 7 years ago

  • Status changed from Pending technical review to Pending release
Actions #9

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.22, 4.1.6 and 4.2.0~beta3 which were released today.

Actions

Also available in: Atom PDF