Bug #80640
InspectException: Valeur invalide (« 9 ») pour le filtre « sous_type »
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
29 août 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/113578/
ValueError: invalid literal for int() with base 10: 'form_var_sous_type_live_details' File "wcs/wf/create_formdata.py", line 301, in __getitem__ key = int(key) AttributeError: 'LazyFormData' object has no attribute 'form_var_sous_type_live_details' File "wcs/wf/create_formdata.py", line 304, in __getitem__ return getattr(self, key) File "wcs/wf/create_formdata.py", line 297, in __getattr__ return getattr(formdata, varname) AttributeError: 'LazyFormDataLinksItem' object has no attribute 'form_var_sous_type_live_details' File "wcs/wf/create_formdata.py", line 332, in __getitem__ return getattr(self, key) ValueError: unknown card value ('9') File "wcs/variables.py", line 331, in convert_value value = field.convert_value_from_anything(value) File "wcs/fields.py", line 2613, in convert_value_from_anything raise ValueError('unknown card value (%r)' % value) InspectException: Valeur invalide (« 9 ») pour le filtre « sous_type » (72 additional frame(s) were not displayed) ... File "wcs/variables.py", line 481, in apply_filter_value value = self.format_value(op=op, value=value, field=fields[0]) File "wcs/variables.py", line 369, in format_value value = convert_value(value=value, field=field) File "wcs/variables.py", line 333, in convert_value self.report_error( File "wcs/variables.py", line 88, in report_error get_publisher().record_error( File "wcs/publisher.py", line 499, in record_error raise errors.InspectException(error_summary)
Historique
Mis à jour par Serghei Mihai (congés, retour 15/05) il y a 9 mois
- Projet changé de Suivi des traces à w.c.s.
Mis à jour par Frédéric Péters il y a 8 mois
- Statut changé de Nouveau à Fermé
C'est quelqu'un qui a utilisé |as_template, on ne peut pas débugguer ça, l'expression du besoin arrivera via un ticket, ou pas.
Mis à jour par Stéphane Laget il y a 8 mois
c'est moi, je peux expliquer dans un ticket lié au projet.