Bug #8151
closed
Technique Editor - whitespace as separator in "File ensure keys -> values present" method
Added by David Svejda over 8 years ago.
Updated over 2 years ago.
Description
Creating/modifying my own Technique.
When I use method "File ensure keys -> values present", I cannot put the whitespace in the "Separator between key and value" field as hinted, because when I just hit the Spacebar, it doesn't accept it. I've tried to use the "\s" there, but it doesn't seem to work as expected.
- Project changed from Rudder to 41
- Category deleted (
Web - Technique editor)
- Assignee set to Vincent MEMBRÉ
- Target version set to 0.x
- 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/ncf/pull/338
Some more context on the bug: for now, all input fields in the Technique Editor are trimed, and it's the reason why we are seeing the bug.
We can't simply stop triming all fields, because in lots of case, we DO want timming. We are on it.
As a workaround, we could define somewhere a variable that contains only space, and use it as a separator.
- Status changed from Pending technical review to In progress
- Assignee changed from François ARMAND to Vincent MEMBRÉ
Correctingicket status: it is not in technical review, as the PR has been closed
- Subject changed from Technique Editor - whitespace as separator to Technique Editor - whitespace as separator in "File ensure keys -> values present" method
- Pull Request deleted (
https://github.com/Normation/ncf/pull/338)
We are implementing a "constraints" system in ncf (generic methods, API and Technique editor). Once that's ready (later this week), we'll be able to add a constraint to this generic method and fix this.
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/ncf/pull/387
- Assignee changed from Benoît PECCATTE to François ARMAND
- Assignee changed from François ARMAND to Benoît PECCATTE
- Assignee changed from Benoît PECCATTE to François ARMAND
- Assignee changed from François ARMAND to Benoît PECCATTE
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Status changed from Pending release to Released
- Target version changed from 0.x to ncf-0.x
- Priority set to 0
- Project changed from 41 to Rudder
- Category set to Generic methods
Also available in: Atom
PDF