Project

General

Profile

Actions

User story #8541

closed

User story #8228: Add constraints to ncf parameters

default constraint are not kept if constraint are defined

Added by Vincent MEMBRÉ almost 8 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

If i define a min_length constraint, default constraint 'whitespace: false' and 'empty: false' are not kept allowing empty string and leading whitespace.

We should extend default constraint instead of using an empty dict

Actions #1

Updated by Vincent MEMBRÉ almost 8 years ago

  • Status changed from New to In progress
Actions #2

Updated by Vincent MEMBRÉ almost 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/ncf/pull/377
Actions #3

Updated by Vincent MEMBRÉ almost 8 years ago

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

Applied in changeset commit:2479d4cc60ffcab3bad08616ffb2d3646a631b6d.

Actions #4

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from Pending release to Released
Actions #5

Updated by Alexis Mousset almost 2 years ago

  • Target version changed from 0.x to ncf-0.x
Actions #6

Updated by Alexis Mousset almost 2 years ago

  • Category set to Generic methods
Actions

Also available in: Atom PDF