Project

General

Profile

Bug #10754

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

Added by Nicolas CHARLES 4 months ago. Updated about 1 month ago.

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

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"

Associated revisions

Revision c3950fea
Added by Raphaël Gauthier 2 months ago

Fixes #10754: Cannot add a directive with a \" in its name in Rule

History

#1 Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 3.1.20 to 3.1.21

#2 Updated by François ARMAND 4 months 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

#3 Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 3.1.21 to 3.1.22

#4 Updated by Benoît PECCATTE 3 months ago

  • Priority changed from 54 to 69

#5 Updated by Benoît PECCATTE 3 months ago

  • Assignee set to Raphael GAUTHIER

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

#6 Updated by Raphael GAUTHIER 2 months ago

  • Status changed from New to In progress
  • Priority changed from 69 to 68

#7 Updated by Raphael GAUTHIER 2 months 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

#8 Updated by Anonymous 2 months ago

  • Status changed from Pending technical review to Pending release

#9 Updated by Vincent MEMBRÉ about 1 month 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.

Also available in: Atom PDF