Bug #23518
openError when creating a technique with illegal character parameter
Description
Nothing prevents in the editor to have invalid data, but at save, I have this nasty error
Files
Updated by Vincent MEMBRÉ about 1 year ago
- Target version changed from 8.0.0~rc1 to 8.0.0~rc2
Updated by François ARMAND about 1 year ago
So there is two part on that bug:
1/ Mapping editor <-> YAML
The first (this ticket) is that the canonization used to be done by rudder webapp and put in the XML. Now, if we want to have it in the yaml, we really need to expose a new field in the technique editor, variable name
, which will be used in place of the automatically canonified field.
The UI will pre-fill the input with something sensible from name
field. The variable name
field must only accept chars in the [\alpha][\alphanum_]*
range (ok for vb variable name, ok for cfengine canonification, ok for most lang function name, etc).
Then the mapping is:
- editor hidden field UUID maps to YAML id
(optionnal) maps to xml NAME
- editor name
maps to YAML description
maps to xml DESCRIPTION
- editor variable name
maps to YAML name
maps to NOTHING in XML
- editor description
maps to YAML documentation
maps to XML LONGDESCRIPTION
2/ Migration
See #23555
Updated by Vincent MEMBRÉ about 1 year ago
- Target version changed from 8.0.0~rc2 to 8.0.0
Updated by Vincent MEMBRÉ about 1 year ago
- Target version changed from 8.0.0 to 8.0.1
Updated by Vincent MEMBRÉ about 1 year ago
- Target version changed from 8.0.1 to 8.0.2
Updated by Vincent MEMBRÉ about 1 year ago
- Target version changed from 8.0.2 to 8.0.3
Updated by Vincent MEMBRÉ about 1 year ago
- Target version changed from 8.0.3 to 8.0.4
Updated by Vincent MEMBRÉ 12 months ago
- Target version changed from 8.0.4 to 8.0.5
Updated by Vincent MEMBRÉ 10 months ago
- Target version changed from 8.0.5 to 8.0.6
Updated by Vincent MEMBRÉ 9 months ago
- Target version changed from 8.0.6 to 8.0.7
Updated by Vincent MEMBRÉ 8 months ago
- Target version changed from 8.0.7 to 8.0.8
Updated by Vincent MEMBRÉ 7 months ago
- Target version changed from 8.0.8 to 8.0.9
Updated by Vincent MEMBRÉ 6 months ago
- Target version changed from 8.0.9 to 8.0.10
Updated by Vincent MEMBRÉ 5 months ago
- Target version changed from 8.0.10 to 1089
Updated by Alexis Mousset 4 months ago
- Target version changed from 1089 to 8.1.6
Updated by Vincent MEMBRÉ 4 months ago
- Target version changed from 8.1.6 to 8.1.7
Updated by Vincent MEMBRÉ 2 months ago
- Target version changed from 8.1.7 to 8.1.8
Updated by Vincent MEMBRÉ 14 days ago
- Target version changed from 8.1.8 to 8.1.9