Projet

Général

Profil

Bug #25671

crash à l'ajout d'un rôle dans authentic

Ajouté par Frédéric Péters il y a plus de 5 ans. Mis à jour il y a plus de 5 ans.

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

Révision 67f126f9 (diff)
Ajouté par Frédéric Péters il y a plus de 5 ans

authentic: update to "new" _meta.get_fields method (#25671)

Historique

#1

Mis à jour par Frédéric Péters il y a plus de 5 ans

#2

Mis à jour par Thomas Noël il y a plus de 5 ans

  • Statut changé de Solution proposée à Solution validée
#3

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)
#4

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

Formats disponibles : Atom PDF