Bug #8620
Role.clean() fails on role edit forms when slug starts with an underscore
Start date:
13 October 2015
Due date:
% Done:
100%
Estimated time:
Patch proposed:
No
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.
Associated revisions
History
Updated by Benjamin Dauvergne over 7 years ago
- Status changed from Nouveau to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit authentic2|5c9ebd75d02ce8117eaf95f6b21ec669ddfbf361.
Updated by Benjamin Dauvergne almost 7 years ago
- Status changed from Résolu (à déployer) to Solution déployée
a2_rbac: do not validate if slug starts with an undercore in Role.clean() (fixes #8620)