Projet

Général

Profil

Bug #53254

erreur lors de la recherche de l'email de l'usager dans un bloc

Ajouté par Sentry Io il y a environ 3 ans. Mis à jour il y a environ 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
19 avril 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Dans le nouveau code de recherche de l'adresse email usager (via #50871),

https://sentry.entrouvert.org/entrouvert/nfrance/issues/43507/

AttributeError: 'NoneType' object has no attribute 'get'
(18 additional frame(s) were not displayed)
...
  File "wcs/workflows.py", line 1702, in handle_form
    url = filled.perform_workflow()
  File "wcs/formdata.py", line 520, in perform_workflow
    url = perform_items(wf_status.items, self)
  File "wcs/workflows.py", line 80, in perform_items
    url = item.perform(formdata) or url
  File "wcs/workflows.py", line 2953, in perform
    submitter_email = formdata.formdef.get_submitter_email(formdata)
  File "wcs/formdef.py", line 1355, in get_submitter_email
    if not v.get('data'):

Fichiers

Révisions associées

Révision 5b45fe46 (diff)
Ajouté par Frédéric Péters il y a environ 3 ans

misc: fix submitter email lookup in case of unfilled block data (#53254)

Historique

#1

Mis à jour par Frédéric Péters il y a environ 3 ans

  • Projet changé de Suivi des traces à w.c.s.
  • Sujet changé de AttributeError: 'NoneType' object has no attribute 'get' à erreur lors de la recherche de l'email de l'usager dans un bloc
#2

Mis à jour par Frédéric Péters il y a environ 3 ans

  • Assigné à mis à Frédéric Péters
#3

Mis à jour par Frédéric Péters il y a environ 3 ans

#4

Mis à jour par Benjamin Dauvergne il y a environ 3 ans

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

Mis à jour par Frédéric Péters il y a environ 3 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 5b45fe4681a9b7fd21b0084c3a8387ed19cadcc4
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Mon Apr 19 14:59:24 2021 +0200

    misc: fix submitter email lookup in case of unfilled block data (#53254)
#6

Mis à jour par Frédéric Péters il y a environ 3 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF