Projet

Général

Profil

Bug #67409

TypeError: 'NoneType' object is not iterable

Ajouté par Sentry Io il y a presque 2 ans. Mis à jour il y a presque 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
16 juillet 2022
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

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

TypeError: 'NoneType' object is not iterable
(9 additional frame(s) were not displayed)
...
  File "quixote/directory.py", line 92, in _q_traverse
    return obj()
  File "wcs/forms/root.py", line 1566, in live
    return FormStatusPage.live_process_fields(form, formdata, displayed_fields)
  File "wcs/forms/common.py", line 864, in live_process_fields
    id_value = field.get_id_by_option_text(value)
  File "wcs/fields.py", line 2137, in get_id_by_option_text
    return data_sources.get_id_by_option_text(self.data_source, text_value)
  File "wcs/data_sources.py", line 212, in get_id_by_option_text
    for option in items:

Fichiers

Révisions associées

Révision 00326aca (diff)
Ajouté par Lauréline Guérin il y a presque 2 ans

datasource: fix get_id_by_option_text with None result (#67409)

Historique

#1

Mis à jour par Lauréline Guérin il y a presque 2 ans

  • Projet changé de Suivi des traces à w.c.s.
#2

Mis à jour par Lauréline Guérin il y a presque 2 ans

#3

Mis à jour par A. Berriot il y a presque 2 ans

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

Mis à jour par Lauréline Guérin il y a presque 2 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 00326aca67fce4693da6602f778c464a7f5b3177
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Thu Jul 28 09:20:25 2022 +0200

    datasource: fix get_id_by_option_text with None result (#67409)
#5

Mis à jour par Transition automatique il y a presque 2 ans

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

Mis à jour par Transition automatique il y a plus d'un an

Automatic expiration

Formats disponibles : Atom PDF