Actions
Bug #23207
openGeneric Method "File key-value present with option" can result in duplicate entries
Status:
New
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
-
Pull Request:
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 the input file processed by the "File key-value present with option" generic method contains several entries for the same key, the output will contain several identical entries with the replacement value.
i.e. if an input sysctl.conf file contained :
vm.swappiness = 30
vm.swappiness = 15
and we use the "File key-value present with option" generic method to set the value to "0", the produced output file will then contain :
vm.swappiness = 0
vm.swappiness = 0
One might expect to obtain a processed file containing a single “vm.swappiness = 0” entry and not a duplicate one.
This report is here for reference and may or may not be considered as a bug.
No data to display
Actions