Bug #8261
closed
Warn when the string length reaches the maximum value supported by the agent
Added by Alexis Mousset over 8 years ago.
Updated over 2 years ago.
Category:
Web - Technique editor
Description
The builder should display a warning and/or limit the field lengths according to the limits in the agent.
- Subject changed from Warn when the string length reacheqs the maximum value supported by the agent to Warn when the string length reaches the maximum value supported by the agent
- Assignee set to Raphael GAUTHIER
Raphael, please add a check in ncf-builder to ensure that any fields with > 2000 characters cannot be extended, and display the following error message to the user: "Fields over 2000 characters are currently not supported. Please insert your content into a file, and copy it with a file_copy_* method, or use a template."
- Project changed from Rudder to 41
- Category deleted (
Web - Technique editor)
- Target version set to 0.x
- Status changed from New to In progress
Classes conditions are also cut at 2048 when parsed (and hit the concat() max argument length at 4096 when writting a longer one).
Technique names should be kept quite short, because the name is used in the filename, which should be compatible with all filesystems.
For most systems the limit is around 255, and we need room for the extension. It may be a migration issue though, because some people may use names that are around the limit on some filesystems.
We should not break their installation, as it is not possible to change the same that has be given at creation, opening another ticket for this issue.
- Status changed from In progress to Pending technical review
- Assignee changed from Raphael GAUTHIER to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/ncf/pull/360
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset commit:e93d2ae398c9e33aab0e97046b374fc962b3b5fe.
- Category set to Technique editor - UI/UX
- Status changed from Pending release to Released
This bug has been fixed in ncf version bundled with Rudder 2.11.24, 3.1.13 and 3.2.6 which were released today.
- 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