Bug #8623
closed
Method "File ensure block in section" of Technique Editor cuts the block to 2047 bytes
Added by Dmitry Svyatogorov over 8 years ago.
Updated over 2 years ago.
Category:
Web - Technique editor
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./
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.)
- Target version changed from 3.2.5 to 3.2.6
- Target version changed from 3.2.6 to 3.2.7
- Target version changed from 3.2.7 to 3.2.8
- Target version changed from 3.2.8 to 3.2.9
- Target version changed from 3.2.9 to 3.2.10
- Target version changed from 3.2.10 to 3.2.11
- Target version changed from 3.2.11 to 339
- Target version changed from 339 to 4.0.4
- 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.
- Target version changed from 0.x to ncf-0.x
- Priority set to 0
- Project changed from 41 to Rudder
- Category changed from Technique editor - UI/UX to Web - Technique editor
Also available in: Atom
PDF