Bug #8623
closedMethod "File ensure block in section" of Technique Editor cuts the block to 2047 bytes
Description
Rudder v.3.2.4 - © Normation (prepackaged from http://www.rudder-project.org/apt-3.2/) @ Ubuntu 14.04.3 LTS
- Save the large block (the multipath aliases of /etc/multipath.conf in my case) in Technique Editor. /Save ok. Apply ok./
- Reopen technique, make sure "block:" is now containing the first 2047 bytes. (Improper read buffer?)
Note, the actual variable maximum size in cfengine is 16k (grooved from previous 4k), the buffer must be at least 16k in case of static size.
Although, (at least) the leading spaces are cutten at save time for no reason. I consider file content must be stored "as is". /I'll post later the buggy variable screening in file content techniques, if one was not already posted./
Updated by Alexis Mousset over 8 years ago
The editor issue was fixed since last release (see #8544), and will be fixed in the next minor release. The editor now outputs a warn message and does not let a user expand a field over 2k. The limit should be 16k indeed, and we have opened an issue on CFEngine bucktracker, and we we will probably try to fix it.
About the leading spaces, we also fixed this since last release (see #8228). There will be different constraints for the fields, allowing spaces when needed (file content, etc.)
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 3.2.5 to 3.2.6
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.2.6 to 3.2.7
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.2.7 to 3.2.8
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.2.8 to 3.2.9
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.2.9 to 3.2.10
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 3.2.10 to 3.2.11
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 3.2.11 to 339
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 339 to 4.0.4
Updated by Alexis Mousset over 7 years ago
- Project changed from Rudder to 41
- Category changed from Web - Technique editor to Technique editor - UI/UX
- Status changed from New to Rejected
- Target version changed from 4.0.4 to 0.x
We now warn the user (#8544), closing.
Updated by Alexis Mousset over 2 years ago
- Target version changed from 0.x to ncf-0.x
- Priority set to 0
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