Project

General

Profile

Bug #13562

"File key-value present" Generic Method and "Manage keys-values in file" Technique does not support | as separator

Added by Félix DALLIDET 3 months ago. Updated 17 days ago.

Status:
Released
Priority:
N/A
Category:
Generic methods - File Management
Target version:
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

Revision 9c097186 (diff)
Added by Benoît PECCATTE about 1 month ago

Fixes #13562: file_keys_values_present does not suport some separators

History

#1 Updated by Nicolas CHARLES 3 months ago

I think it is interpreted as a regex character. You should try to escape it : \|

#2 Updated by Alexis MOUSSET 2 months ago

  • Effort required set to Very Small

#3 Updated by Alexis MOUSSET 2 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É about 2 months ago

  • Target version changed from 4.1.15 to 4.1.16

#5 Updated by Vincent MEMBRÉ about 1 month ago

  • Target version changed from 4.1.16 to 4.1.17

#6 Updated by Benoît PECCATTE about 1 month 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 about 1 month 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 about 1 month ago

  • Status changed from Pending technical review to Pending release

#9 Updated by Nicolas CHARLES 28 days 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 28 days 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É 17 days 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

#12 Updated by Vincent MEMBRÉ 17 days ago

  • Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.17, 4.3.7 and 5.0.3 which were released today.
Changelog
Changelog
Changelog

Also available in: Atom PDF