Project

General

Profile

Actions

Bug #20028

closed

we can save a technique with an empty block name - it renders it unusable

Added by Nicolas CHARLES about 3 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Web - Technique editor
Target version:
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


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #19767: Error when saving a technique with an empty blockRejectedActions
Actions #1

Updated by Vincent MEMBRÉ about 3 years ago

  • Is duplicate of Bug #19767: Error when saving a technique with an empty block added
Actions #2

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

Also available in: Atom PDF