Projet

Général

Profil

Bug #8620

Role.clean() fails on role edit forms when slug starts with an underscore

Ajouté par Benjamin Dauvergne il y a plus de 8 ans. Mis à jour il y a plus de 6 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
Début:
13 octobre 2015
Echéance:
% réalisé:

100%

Temps estimé:
Patch proposed:
Non
Planning:

Description

Validation should be done on in a field validator and not in clean, as if the field is not present in the form, clean validation cannot be excluded, but field validation are excluded (through the clean_fields() method). For now we juste remove it.

Révisions associées

Révision 5c9ebd75 (diff)
Ajouté par Benjamin Dauvergne il y a plus de 8 ans

a2_rbac: do not validate if slug starts with an undercore in Role.clean() (fixes #8620)

Historique

#1

Mis à jour par Benjamin Dauvergne il y a plus de 8 ans

  • Statut changé de Nouveau à Résolu (à déployer)
  • % réalisé changé de 0 à 100
#2

Mis à jour par Benjamin Dauvergne il y a environ 8 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#3

Mis à jour par Benjamin Dauvergne il y a plus de 6 ans

  • Statut changé de Solution déployée à Fermé

Formats disponibles : Atom PDF