Projet

Général

Profil

Bug #23156

saml2.py: global name 'publisher' is not defined

Ajouté par Thomas Noël il y a environ 6 ans. Mis à jour il y a environ 6 ans.

Statut:
Rejeté
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
13 avril 2018
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:

Description

Exception:
  type = '<type 'exceptions.NameError'>', value = 'global name 'publisher' is not defined'

Stack trace (most recent call first):
  File "/usr/lib/python2.7/dist-packages/wcs/qommon/saml2.py", line 505, in fill_user_attributes
   503                     field_value = field.convert_value_from_anything(field_value)
   504                 except ValueError:
>  505                     publisher.notify_of_exception(sys.exc_info(), context='[SAML]')
   506                     continue
   507             if user.form_data.get(field_id) != field_value:

c'est suite à #22793

Historique

#1

Mis à jour par Thomas Noël il y a environ 6 ans

A noter la date reçue dans la suite de la trace :

     field = <fields.DateField object at 0x7f001dde3550>
     field_id = '_birthdate'
     field_value = '21011984'

#2

Mis à jour par Thomas Noël il y a environ 6 ans

  • Statut changé de Nouveau à Rejeté

doublon de #23158

A noter quand même le format de date reçu, anormal

Formats disponibles : Atom PDF