Actions
Bug #20028
closedwe can save a technique with an empty block name - it renders it unusable
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
We can save a technique when a block has no name
but then there's a parsing error
[2021-10-01 09:24:47+0200] ERROR techniques.reader - Error with technique at path: '/ncf_techniques/test_with_block/1.0/metadata.xml', it will be ignored. Error: Chained: Couldn't parse Section in test_with_block/1.0 -> test with block for XML: <SECTION reporting="sum" name="" multivalued="true" component="true"> <SECTION name="Command execution" multivalued="true" component="true"> <REPORTKEYS> <VALUE>/bin/true #two</VALUE> </REPORTKEYS> </SECTION> </SECTION>; cause was: Parsing: Section must have name. Missing name for: <SECTION reporting="sum" name="" multivalued="true" component="true"> <SECTION name="Command execution" multivalued="true" component="true"> <REPORTKEYS> <VALUE>/bin/true #two</VALUE> </REPORTKEYS> </SECTION> </SECTION>
it should be forbidden to save a technique with an empty block name
Updated by Vincent MEMBRÉ about 3 years ago
- Is duplicate of Bug #19767: Error when saving a technique with an empty block added
Updated by Vincent MEMBRÉ about 3 years ago
- Status changed from New to Rejected
This is a duplicate of #19767 I'm closing it
Actions