Project

General

Profile

Actions

Bug #4063

closed

The check of validity of Rudder parameters within variable values is too strict and does not permit spaces

Added by Nicolas CHARLES almost 9 years ago. Updated over 8 years ago.

Status:
Released
Priority:
2
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Regression:

Description

this text in a field fails

Welcome to  ${rudder.node.hostname} This node is managed by your Rudder infrastructure The Rudder id of this node is ${rudder.node.id} The policy on this node was last updated on ${sys.last_policy_update} The operating system flavour of this node is ${sys.flavour} The ip addresses configured on this node are ${sys.ip_address}

with the following error

 Can not replace parameters in value 'Welcome to ${rudder.node.hostname} This node is managed by your Rudder infrastructure The Rudder id of this node is 5ee53fbe-ff96-4606-a78b-5e408cbf77c9 The policy on this node was last updated on ${sys.last_policy_update} The operating system flavour of this node is ${sys.flavour} The ip addresses configured on this node are ${sys.ip_address}' because accessors contains spaces

The reason is that the check if the parameter contain space is greedy (class ParametrizedValueLookupService, l 351 )

Changing to non-greedy should solve the issue


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #5743: Use of variable starting with 'rudder' in cfengine variable is forbiddenReleasedFrançois ARMAND2014-11-06Actions
Actions #1

Updated by Nicolas CHARLES almost 9 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Nicolas CHARLES to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/353
Actions #2

Updated by Nicolas CHARLES almost 9 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #3

Updated by Anonymous almost 9 years ago

Actions #4

Updated by Nicolas PERRON over 8 years ago

  • Subject changed from The check of validity of rudder parameters within variable values is too strict to The check of validity of rudder parameters within variable values is too strict and does not permit spaces
Actions #5

Updated by Nicolas PERRON over 8 years ago

  • Subject changed from The check of validity of rudder parameters within variable values is too strict and does not permit spaces to The check of validity of Rudder parameters within variable values is too strict and does not permit spaces
Actions #6

Updated by Nicolas PERRON over 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.7.6, which was released today.
Check out:

Actions

Also available in: Atom PDF