Projet

Général

Profil

Bug #75860

erreur appel vue login sur site ancien auquo, AttributeError: 'NoneType' object has no attribute 'get'

Ajouté par Frédéric Péters il y a environ un an. Mis à jour il y a environ un an.

Statut:
Rejeté
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
28 mars 2023
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

Exception:
  type = '<class 'AttributeError'>', value = ''NoneType' object has no attribute 'get''

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/wcs/qommon/ident/__init__.py", line 23, in login
    21
    22 def login(method):
>   23     m = get_publisher().ident_methods.get(method)
    24     if m and hasattr(m, 'login'):
    25         return m().login()

  locals:
     method = 'idp'

  File "/usr/lib/python3/dist-packages/wcs/root.py", line 77, in _q_index
    75         # always prefer idp (saml), fallback to first configured method
    76         method = 'idp' if 'idp' in ident_methods else ident_methods[0]
>   77         return ident.login(method)
    78
    79     def _q_lookup(self, component):

  locals:
     ident_methods = ['idp']
     method = 'idp'
     self = <wcs.root.LoginDirectory object at 0x7f8033380df0>
...

Historique

#1

Mis à jour par Frédéric Péters il y a environ un an

  • Sujet changé de erreur appel vue login sur site pas configuré (?), AttributeError: 'NoneType' object has no attribute 'get' à erreur appel vue login sur site ancien auquo, AttributeError: 'NoneType' object has no attribute 'get'
#3

Mis à jour par Frédéric Péters il y a environ un an

  • Statut changé de Nouveau à Rejeté

Ancien site auquo qui aurait du être désactivé.

Formats disponibles : Atom PDF