Project

General

Profile

Actions

Bug #23209

open

Generic Method "File key-value present with option" can be tricky if using the ${ncf_const.s} constant

Added by Michel BOUISSOU 9 months ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
-
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

If we use the "File key-value present with option" generic method to process a file and would like to obtain a "=" separator surrounded by exactly one space, and thus define the separator as :

${ncf_const.s}=${ncf_const.s}

using the Rudder-provided “space” constant.

Then the separator will be considered as being the exact " = " string, and, if in the input stream we happen to have "key=value" entries in which the "=" separator is not surrounded by spaces, then the method will not match on these and the corresponding lines will not be edited.

This report is here for reference and may or may not be considered as a bug.

Otherwise, this might need to be better documented.

No data to display

Actions

Also available in: Atom PDF