Bug #9243
closed
Technique "Enforce a file content" breaks carriage returns
Added by Alexandre Anriot about 8 years ago.
Updated about 8 years ago.
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.
- 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}
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}
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}
- Status changed from New to In progress
- 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
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Has duplicate Bug #9329: Newlines striped in textareas added
- 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.
- Has duplicate Bug #9291: Enforce a file content - carriage returns disappear - v3.2.8 added
Also available in: Atom
PDF