Bug #62424
TypeError: join requires a list of strings
Début:
04 mars 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/54729/
TypeError: join requires a list of strings (12 additional frame(s) were not displayed) ... File "wcs/backoffice/management.py", line 2324, in ods job.execute() File "wcs/backoffice/management.py", line 4028, in execute return self.create_export(formdef, fields, items, total_count) File "wcs/backoffice/management.py", line 4074, in create_export for j, item in enumerate(self.get_spreadsheet_line(fields, formdata)): File "wcs/backoffice/management.py", line 4005, in get_spreadsheet_line element = data.get_field_view_value(field) or '' File "wcs/formdata.py", line 847, in get_field_view_value return htmltext(', ').join(get_value(field, d) for d in data.get('data') or [])
Fichiers
Demandes liées
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Projet changé de Suivi des traces à w.c.s.
contenu de data:
{ data: [ { ... bfd4d883db-d9c4-4a72-b03b-6030f57394d9: ["2012","8","15","0","0","0","2","228","-1"] } ], schema: { ... bfd4d883db-d9c4-4a72-b03b-6030f57394d9: 'date' } }
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Fichier 0001-backoffice-handle-fields-block-in-listing-exports-62.patch 0001-backoffice-handle-fields-block-in-listing-exports-62.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a environ 2 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 4a715a3661a62cbecaff066f0dee9a13ff4e4d06 Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Fri Mar 4 15:55:09 2022 +0100 backoffice: handle fields block in listing exports (#62424)
Mis à jour par Transition automatique il y a environ 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Lié à Bug #63150: TypeError: join requires a list of strings ajouté
Mis à jour par Lauréline Guérin il y a presque 2 ans
- Lié à Bug #66918: Backoffice: export csv des demandes/fiches, les champs dates sont vides ajouté
Mis à jour par Lauréline Guérin il y a plus d'un an
- Lié à Development #69031: Traitement, export csv/ods d'un formdata avec un bloc de champs qui contient des virgules ajouté
backoffice: handle fields block in listing exports (#62424)