Actions
Bug #19865
closedTechnique editor allows empty technique name
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Technique editor
Target version:
Pull Request:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Small
Priority:
109
Name check:
To do
Fix check:
To do
Regression:
Description
In 7.0.0~beta1 I was able to create a technique via the technique editor without setting its name. This was forbidden in prior versions.
It resulted in a technique in the wrong folder:
root@server:/var/rudder/configuration-repository/techniques/ncf_techniques# tree /var/rudder/configuration-repository/techniques/ncf_techniques/1.0/ /var/rudder/configuration-repository/techniques/ncf_techniques/1.0/ ├── metadata.xml ├── rudder_reporting.cf ├── technique.cf ├── technique.json ├── technique.ps1 └── technique.rd 0 directories, 6 files
Here is the json of the technique:
{ "bundle_name":"", "version":"1.0", "category":"ncf_techniques", "description":"", "name":"", "method_calls":[ { "condition":"my_condition", "component":"My bigger block", "reportingLogic":{ "type":"worst" }, "calls":[ { "condition":"abcd", "component":"My inner block", "reportingLogic":{ "type":"sum" }, "calls":[], "id":"565097b9-f3e7-469f-b397-2d0e4e4d60b9" } ], "id":"757dc295-5739-4e5c-ad72-ae7587cf675f" } ], "parameter":[], "resources":[] }
Updated by Elaad FURREEDAN over 3 years ago
- Status changed from New to In progress
- Assignee set to Elaad FURREEDAN
Updated by Elaad FURREEDAN over 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Elaad FURREEDAN to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/3852
Updated by Anonymous over 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|590bc40f55e064a44e432f228766da330dbf56a8.
Updated by François ARMAND over 3 years ago
- Related to Bug #16135: We can save a technique with empty name when we add a resource added
Updated by François ARMAND over 3 years ago
- Related to Bug #19930: We were able to save a technique without a name which caused chaos added
Updated by Vincent MEMBRÉ over 3 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.0.0~beta1 which was released today.
Actions