Bug #67409
TypeError: 'NoneType' object is not iterable
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
Historique
Mis à jour par Lauréline Guérin il y a presque 2 ans
- Fichier 0001-datasource-fix-get_id_by_option_text-with-None-resul.patch 0001-datasource-fix-get_id_by_option_text-with-None-resul.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Assigné à mis à Lauréline Guérin
- Patch proposed changé de Non à Oui
Mis à jour par A. Berriot il y a presque 2 ans
- Statut changé de Solution proposée à Solution validée
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)
Mis à jour par Transition automatique il y a presque 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
datasource: fix get_id_by_option_text with None result (#67409)