Bug #8620
Role.clean() fails on role edit forms when slug starts with an underscore
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
Historique
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
Appliqué par commit authentic2|5c9ebd75d02ce8117eaf95f6b21ec669ddfbf361.
Mis à jour par Benjamin Dauvergne il y a environ 8 ans
- Statut changé de Résolu (à déployer) à Solution déployée
Mis à jour par Benjamin Dauvergne il y a plus de 6 ans
- Statut changé de Solution déployée à Fermé
a2_rbac: do not validate if slug starts with an undercore in Role.clean() (fixes #8620)