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É over 8 years ago.
Updated over 2 years ago.
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
- Status changed from New to In progress
- 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
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset commit:2479d4cc60ffcab3bad08616ffb2d3646a631b6d.
- Status changed from Pending release to Released
- Target version changed from 0.x to ncf-0.x
- Category set to Generic methods
Also available in: Atom
PDF