Project

General

Profile

Bug #8829

New method calls are considered valid, although they are empty which leads to error when validated via API

Added by Vincent MEMBRÉ over 3 years ago. Updated over 3 years ago.

Status:
Released
Priority:
1
Category:
Technique editor - UI/UX
Target version:
Severity:
User visibility:
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)

Associated revisions

Revision 44fd46bd (diff)
Added by Vincent MEMBRÉ over 3 years ago

Fixes #8829: New method calls are considered valid, although they are empty which leads to error when validated via API

History

#1

Updated by Vincent MEMBRÉ over 3 years ago

  • Status changed from New to In progress
#2

Updated by Vincent MEMBRÉ over 3 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
#3

Updated by Vincent MEMBRÉ over 3 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
#4

Updated by Vincent MEMBRÉ over 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in ncf version bundled with Rudder 2.11.24, 3.1.13 and 3.2.6 which were released today.

Also available in: Atom PDF