Actions
Bug #20128
closedVariable string from command fails when command contains control structures
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Description
When the command contains control structures it fails:
E| compliant plouf Variable string from com| test2 Set the string plouff.test2 to the output of 'if [ true ]; then echo plop1 && echo foo 1>&2; else echo plop2; fi;' was correct 2021-10-14T08:42:14+00:00 R: The 'if [ true ]; then echo plop1 && echo foo 1>&2; else echo plop2; fi;' command returned ' command substitution: line 2: syntax error near unexpected token `then' 2021-10-14T08:42:14+00:00 sh: command substitution: line 2: `/bin/true; 2>/dev/null if [ true ]; then echo plop1 && echo foo 1>&2; else echo plop2; fi;''
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 6.2.11 to 6.2.12
Updated by Vincent MEMBRÉ almost 3 years ago
- Target version changed from 6.2.12 to 6.2.13
Updated by Elaad FURREEDAN almost 3 years ago
- Translation missing: en.field_tag_list set to Sponsored
Updated by Nicolas CHARLES over 2 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES over 2 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Alexis Mousset
- Pull Request set to https://github.com/Normation/ncf/pull/1343
Updated by Anonymous over 2 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset ncf|f6db8bb823400de1f49c5915fe1e38b46c6f6dcd.
Updated by Nicolas CHARLES over 2 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 2 years ago
This bug has been fixed in Rudder 6.2.13, 7.0.2 and 7.1.0~rc1 which were released today.
Updated by Vincent MEMBRÉ over 2 years ago
- Status changed from Pending release to Released
Actions