Project

General

Profile

Actions

Bug #8575

closed

The technique creation form validation doesn't check if the technique name starts with an invalid character.

Added by Raphael GAUTHIER over 8 years ago. Updated over 2 years ago.

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

Description

Currently, if we create a technique which its name starts by an invalid character like :
(){}/.,& etc...
one notification informs us that we managed to create this technique and it appears in the list at the left of the screen.
But in fact, if we refresh the page, this technique does not appear because it was not created.

We should check if the technique name is valid before allow user to validate the form to prevent this.

Actions #1

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version set to 0.x
Actions #2

Updated by Vincent MEMBRÉ over 8 years ago

In fact it was created but we ignore file starting with _ ...

So we should ensure the bundle name does not start with _

Actions #3

Updated by Raphael GAUTHIER over 8 years ago

  • Status changed from New to In progress
  • Assignee set to Raphael GAUTHIER
Actions #4

Updated by Raphael GAUTHIER over 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Raphael GAUTHIER to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/ncf/pull/392
Actions #5

Updated by Anonymous over 8 years ago

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

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from Pending release to Released
Actions #7

Updated by Alexis Mousset over 2 years ago

  • Target version changed from 0.x to ncf-0.x
  • Priority set to 0
Actions #8

Updated by Alexis Mousset over 2 years ago

  • Project changed from 41 to Rudder
  • Category set to Generic methods
Actions

Also available in: Atom PDF