Project

General

Profile

Actions

Enhancement #8473

open

Form fields in Directive edit are eating leading spaces.

Added by steev hise over 8 years ago. Updated about 1 year ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Config management
UX impact:
Suggestion strength:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Name check:
Fix check:
Regression:

Description

Certain form fields seem to delete leading whitespace.
For instance, in the directive form for the enforce file content technique, if the first line of the content starts with whitespace, after you save the whitespace disappears
Also there in the section header and footer fields.
This is important if you're trying to edit a file with indentation on some lines.


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #8933: Multi-line command in post-modification hooks works incorrectlyReleasedNicolas CHARLESActions
Has duplicate Rudder - Bug #3656: can't start motd with empty lineRejectedActions
Actions #1

Updated by steev hise over 8 years ago

the redmine interface seems to have done even worse. heh.
let me try again.

configSectionFoo

becomes
configSectionFoo

Actions #2

Updated by Nicolas CHARLES over 8 years ago

  • Related to Bug #3656: can't start motd with empty line added
Actions #3

Updated by François ARMAND over 8 years ago

We had a similar report some time ago (ticket linked).

There is something to take into account: in some fields, we really expect as a user that the words will be trimed (ex: for a field waiting for a version in package management, for the name, etc).

It seems that a good behaviour would be to NOT TRIM text area (all example proposed are text area, and other examples we thing about where also only "long input").

So:

- we will try to remove trim in long input field kind (text area)
- and check that nothing break :)

Thanks for the report (and the reminder that this is an important topic)

Actions #4

Updated by steev hise over 8 years ago

François ARMAND wrote:

We had a similar report some time ago (ticket linked).

There is something to take into account: in some fields, we really expect as a user that the words will be trimed (ex: for a field waiting for a version in package management, for the name, etc).

It seems that a good behaviour would be to NOT TRIM text area (all example proposed are text area, and other examples we thing about where also only "long input").

So:

- we will try to remove trim in long input field kind (text area)
- and check that nothing break :)

There are some text (short) input fields that it would make sense not to trim to, like anywhere that matching a line in a file, unless a regex is able to entered. For instance in that same example I give above, the enforce file content, section header/footer fields need to allow leading spaces too, or they need to be able to accept a regex. thanks.

Actions #5

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 3.2.5 to 3.2.6
Actions #6

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.2.6 to 3.2.7
Actions #7

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.2.7 to 3.2.8
Actions #8

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.2.8 to 3.2.9
Actions #9

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.2.9 to 3.2.10
Actions #10

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.2.10 to 3.2.11
Actions #11

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.2.11 to 339
Actions #12

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 339 to 4.0.4
Actions #13

Updated by Benoît PECCATTE over 7 years ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
Actions #14

Updated by Benoît PECCATTE over 7 years ago

  • Priority set to 31
Actions #15

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.0.4 to 4.0.5
Actions #16

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.0.5 to 4.0.6
  • Priority changed from 31 to 30
Actions #17

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.0.6 to 4.0.7
Actions #18

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.0.7 to 357
Actions #19

Updated by Benoît PECCATTE over 7 years ago

  • Priority changed from 30 to 43
Actions #20

Updated by Alexis Mousset over 7 years ago

  • Target version changed from 357 to 4.1.6
Actions #21

Updated by Benoît PECCATTE over 7 years ago

  • Category changed from Web - UI & UX to Web - Config management
Actions #22

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.1.6 to 4.1.7
Actions #23

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 4.1.7 to 4.1.8
Actions #24

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 4.1.8 to 4.1.9
Actions #25

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.1.9 to 4.1.10
Actions #26

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.1.10 to 4.1.11
Actions #27

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.11 to 4.1.12
Actions #28

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.12 to 4.1.13
Actions #29

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.13 to 4.1.14
Actions #30

Updated by Benoît PECCATTE over 6 years ago

  • Target version changed from 4.1.14 to 4.1.15
Actions #31

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.15 to 4.1.16
Actions #32

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.16 to 4.1.17
Actions #33

Updated by François ARMAND about 6 years ago

  • Related to Bug #8933: Multi-line command in post-modification hooks works incorrectly added
Actions #34

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 4.1.17 to 4.1.18
  • Priority changed from 43 to 0
Actions #35

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 4.1.18 to 4.1.19
Actions #36

Updated by Alexis Mousset almost 6 years ago

  • Target version changed from 4.1.19 to 4.1.20
Actions #37

Updated by François ARMAND over 5 years ago

  • Target version changed from 4.1.20 to 4.1.21
Actions #38

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.21 to 4.1.22
Actions #39

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.22 to 4.1.23
Actions #40

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.23 to 4.1.24
Actions #41

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.24 to 588
Actions #42

Updated by Nicolas CHARLES over 5 years ago

  • Target version changed from 588 to 5.0.13
Actions #43

Updated by Alexis Mousset over 5 years ago

  • Related to deleted (Bug #3656: can't start motd with empty line)
Actions #44

Updated by Alexis Mousset over 5 years ago

  • Has duplicate Bug #3656: can't start motd with empty line added
Actions #45

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.13 to 5.0.14
Actions #46

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.14 to 5.0.15
Actions #47

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 5.0.15 to 5.0.16
Actions #48

Updated by Alexis Mousset almost 5 years ago

  • Target version changed from 5.0.16 to 5.0.17
Actions #49

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.17 to 5.0.18
Actions #50

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.18 to 5.0.19
Actions #51

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 5.0.19 to 5.0.20
Actions #52

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 5.0.20 to 797
Actions #53

Updated by Benoît PECCATTE over 3 years ago

  • Target version changed from 797 to 6.1.14
Actions #54

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
Actions #55

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #56

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #57

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.17 to 6.1.18
Actions #58

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #59

Updated by François ARMAND almost 3 years ago

  • Tracker changed from Bug to Enhancement
  • Severity deleted (Major - prevents use of part of Rudder | no simple workaround)
  • Priority deleted (0)
Actions #60

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.19 to 6.1.20
Actions #61

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.20 to 6.1.21
Actions #62

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.21 to old 6.1 issues to relocate
Actions #63

Updated by Alexis Mousset over 1 year ago

  • Target version changed from old 6.1 issues to relocate to 7.2.5
Actions #64

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.5 to 7.2.6
Actions #65

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.6 to 7.2.7
Actions #66

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.7 to 7.2.8
Actions #67

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.8 to 7.2.9
Actions #68

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.9 to 7.2.10
Actions #69

Updated by Alexis Mousset over 1 year ago

  • Target version changed from 7.2.10 to 7.2.11
Actions #70

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.2.11 to 1046
Actions #71

Updated by Alexis Mousset about 1 year ago

  • Target version changed from 1046 to Ideas (not version specific)
Actions

Also available in: Atom PDF