Bug #13562
closed
"File key-value present" Generic Method and "Manage keys-values in file" Technique does not support | as separator
Added by Félix DALLIDET about 6 years ago.
Updated over 2 years ago.
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
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.
I think it is interpreted as a regex character. You should try to escape it : \|
- Effort required set to Very Small
- 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
- Target version changed from 4.1.15 to 4.1.16
- Target version changed from 4.1.16 to 4.1.17
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
- Priority changed from 61 to 0
- 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
- Status changed from Pending technical review to Pending release
Applied in changeset commit:9c097186342cf8593d6c26c9c48201ad67e40aa3.
- Subject changed from file_keys_values_present does not suport some separators to Generic Method file_keys_values_present does not support some separators
- 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
- 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
- Status changed from Pending release to Released
- Project changed from 41 to Rudder
- Category changed from Generic methods - File Management to Generic methods
Also available in: Atom
PDF