Bug #13562
"File key-value present" Generic Method and "Manage keys-values in file" Technique does not support | as separator
Status:
Released
Priority:
N/A
Assignee:
Category:
Generic methods - File Management
Target version:
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
0
Description
When using "|" as separator, it fails and results in a broken key-value file.
Rudder does not detect that the result is not as expected and returns a repaired/success report.
It should either support the "|" or not allow it.
Associated revisions
History
#1
Updated by Nicolas CHARLES 5 months ago
I think it is interpreted as a regex character. You should try to escape it : \|
#2
Updated by Alexis MOUSSET 4 months ago
- Effort required set to Very Small
#3
Updated by Alexis MOUSSET 4 months ago
- Severity set to Minor - inconvenience | misleading | easy workaround
- User visibility set to Operational - other Techniques | Technique editor | Rudder settings
- Priority changed from 0 to 61
#4
Updated by Vincent MEMBRÉ 4 months ago
- Target version changed from 4.1.15 to 4.1.16
#5
Updated by Vincent MEMBRÉ 3 months ago
- Target version changed from 4.1.16 to 4.1.17
#6
Updated by Benoît PECCATTE 3 months ago
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
- Priority changed from 61 to 0
#7
Updated by Benoît PECCATTE 3 months ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/ncf/pull/872
#8
Updated by Benoît PECCATTE 3 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset 9c097186342cf8593d6c26c9c48201ad67e40aa3.
#9
Updated by Nicolas CHARLES 3 months ago
- Subject changed from file_keys_values_present does not suport some separators to Generic Method file_keys_values_present does not support some separators
#10
Updated by Nicolas CHARLES 3 months ago
- Subject changed from Generic Method file_keys_values_present does not support some separators to Generic Method file_keys_values_present and technique "Manage keys-values in file" does not support some separators
#11
Updated by Vincent MEMBRÉ 3 months ago
- Subject changed from Generic Method file_keys_values_present and technique "Manage keys-values in file" does not support some separators to "File key-value present" Generic Method and "Manage keys-values in file" Technique does not support | as separator
Fixes #13562: file_keys_values_present does not suport some separators