Actions
Bug #4063
closedThe check of validity of Rudder parameters within variable values is too strict and does not permit spaces
Status:
Released
Priority:
2
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
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
Updated by Nicolas CHARLES about 11 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
Updated by Nicolas CHARLES about 11 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset 1c1d049f19cc00379d5e44a8c5db8f346962868c.
Updated by Anonymous about 11 years ago
Applied in changeset 7ac67a505e7557fd213714072efb2b4ea9897285.
Updated by Nicolas PERRON about 11 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
Updated by Nicolas PERRON about 11 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
Updated by Nicolas PERRON about 11 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:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2013-November/000063.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog27
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Actions