Project

General

Profile

Actions

Bug #26005

open

we can save an invalid technique (empty param name)

Added by Nicolas CHARLES about 1 month ago. Updated 23 days ago.

Status:
In progress
Priority:
2
Category:
Web - Technique editor
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

We can save an invalid technique, by adding a parameter, and editing the YAML so that it contain

params:
  - id: 394500e5-147f-4f91-b733-185cc3e8ec4f
    name: ''
    description: ''
    documentation: ''
    constraints:
      allow_empty: false

as a result, compilation breaks, and policy generation breaks
the save button should not be activated when we add an empty description and documentation

Actions

Also available in: Atom PDF