Bug #9243
closedTechnique "Enforce a file content" breaks carriage returns
Description
Hello,
With a fresh upgrade to 3.2.8, the "Enforce a file content" technique (v7.0) breaks carriage returns in the "Content of the file" field.
If you edit an existing technique and don't save the changes, the technique keeps working.
Thanks.
Updated by Vincent MEMBRÉ about 8 years ago
- Category set to Web - UI & UX
- Assignee set to Vincent MEMBRÉ
- Priority changed from N/A to 1 (highest)
- Target version set to 3.1.16
I need to look if the field is now trimming inputs (but as you tell me it seems it does now ...)
A workaround: you can replace trailling lines by ${const.n}
Updated by Alexandre Anriot about 8 years ago
Thanks Vincent, I hope that I'm not mistaken.
I fixed files directly in configuration-repository/directives/fileDistribution/checkGenericFileContent/ through Git.
Vincent MEMBRÉ wrote:
I need to look if the field is now trimming inputs (but as you tell me it seems it does now ...)
A workaround: you can replace trailling lines by ${const.n}
Updated by Alexandre Anriot about 8 years ago
For the record, a restore from the archives is needed when changing a technique manually (thanks Vincent):
- Either from the archives page ;
- Or the API:
# curl -k https://localhost/rudder/api/archives/restore/full/latestCommit
Thanks Vincent, I hope that I'm not mistaken.
I fixed files directly in configuration-repository/directives/fileDistribution/checkGenericFileContent/ through Git.
Vincent MEMBRÉ wrote:
I need to look if the field is now trimming inputs (but as you tell me it seems it does now ...)
A workaround: you can replace trailling lines by ${const.n}
Updated by Vincent MEMBRÉ about 8 years ago
- Status changed from New to In progress
Updated by Vincent MEMBRÉ about 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/1260
Updated by Vincent MEMBRÉ about 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder|90b61b618d096ed51d8c1c8739f4d8b1030f53df.
Updated by Nicolas CHARLES about 8 years ago
- Has duplicate Bug #9329: Newlines striped in textareas added
Updated by Vincent MEMBRÉ about 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.2.9 and 3.1.16 which were released today.
- 3.2.9: Announce Changelog
- 3.1.16: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Nicolas CHARLES about 8 years ago
- Has duplicate Bug #9291: Enforce a file content - carriage returns disappear - v3.2.8 added