Bug #25671
crash à l'ajout d'un rôle dans authentic
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
13 août 2018
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
Au submit,
File "/home/fred/src/eo/venv1.11/local/lib/python2.7/site-packages/django/views/generic/edit.py" in post 183. return self.form_valid(form) File "/home/fred/src/eo/authentic/src/authentic2/manager/role_views.py" in form_valid 83. response = super(RoleAddView, self).form_valid(form) File "/home/fred/src/eo/venv1.11/local/lib/python2.7/site-packages/django/views/generic/edit.py" in form_valid 162. self.object = form.save() File "/home/fred/src/eo/hobo/hobo/agent/authentic2/role_forms.py" in save 106. fields = Role._meta.get_all_field_names() Exception Type: AttributeError at /manage/roles/add/ Exception Value: 'Options' object has no attribute 'get_all_field_names'
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a plus de 5 ans
- Fichier 0001-authentic-update-to-new-_meta.get_fields-method-2567.patch 0001-authentic-update-to-new-_meta.get_fields-method-2567.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Thomas Noël il y a plus de 5 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a plus de 5 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 67f126f9a00059374a5f01415074ff8053c30779 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Mon Aug 13 21:42:46 2018 +0200 authentic: update to "new" _meta.get_fields method (#25671)
Mis à jour par Frédéric Péters il y a plus de 5 ans
- Statut changé de Résolu (à déployer) à Solution déployée
authentic: update to "new" _meta.get_fields method (#25671)