Bug #8829
New method calls are considered valid, although they are empty which leads to error when validated via API
Status:
Released
Priority:
1
Assignee:
Category:
Technique editor - UI/UX
Target version:
Effort required:
Priority:
Description
When adding a new method in a Technique in ncf editor, without
Form is initialized with 'undefined' value which are considered valid on the UI part (which should not) so save button is activated (and should not)
Clicking on that button we got an error on the API which fails when calling a regexp search on a None value which is impossible ... that'a a python error, and very confusing, we should a message every one can understand (by checing if the value is None before checking it)
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE
- Pull Request set to https://github.com/Normation/ncf/pull/418
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset 44fd46bdfac35d55d571375266a6178b79a09c47.
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from Pending release to Released