Actions
Bug #17141
closedWhen we add a multiline description in a technique, it breaks policy generation and technique loadingg
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Technique editor
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:
Description
if we set a multiline description in technique, only the first line is correctly escaped, resulting in an error
⇨ Policy update error for process '27' at 2020-04-16 18:03:04 ⇨ Cannot write nodes configuration ⇨ Unexpected: Error when executing hooks: Exit code=1 for hook: '/opt/rudder/etc/hooks.d/policy-generation-node-ready/10-cf-promise-check'. [stdout:][stderr:/var/rudder/cfengine-community/inputs.new/plugin_openscap_policies/1.0/technique.cf:4:5: error: syntax error This Technique takes 2 parameters: ^
indeed, text is not correctly escaped
Happens in 6.0 and master, 5.0 is safe from that
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from New to In progress
- Assignee set to Vincent MEMBRÉ
Updated by Vincent MEMBRÉ over 4 years ago
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/2902
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from In progress to Pending release
Applied in changeset rudder:rudder|97af16e9705a19deacd69c625813865d2445e980.
Updated by Nicolas CHARLES over 4 years ago
- Fix check changed from To do to Checked
Updated by Alexis Mousset over 4 years ago
- Subject changed from when we add a multiline description in Technique, it breaks policy generation and technique loading to When we add a multiline description in a technique, it breaks policy generation and technique loadingg
- Name check changed from To do to Reviewed
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.0.5 which was released today.
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category changed from Technique editor - UI/UX to Web - Technique editor
Actions