Bug #63150
TypeError: join requires a list of strings
Début:
24 mars 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/gplexpert/issues/54895/
TypeError: join requires a list of strings (13 additional frame(s) were not displayed) ... File "wcs/backoffice/management.py", line 2321, in ods job.execute() File "wcs/backoffice/management.py", line 4035, in execute return self.create_export(formdef, fields, items, total_count) File "wcs/backoffice/management.py", line 4081, in create_export for j, item in enumerate(self.get_spreadsheet_line(fields, formdata)): File "wcs/backoffice/management.py", line 4006, in get_spreadsheet_line element = data.get_field_view_value(field) or '' File "wcs/formdata.py", line 849, 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
- Lié à Bug #62424: TypeError: join requires a list of strings ajouté
Mis à jour par Lauréline Guérin il y a environ 2 ans
ressemble à #62424 mais cette fois on a du PicklableUpload
Mis à jour par Lauréline Guérin il y a environ 2 ans
contenu de data:
{ data: [ { bf7052d6c7-471f-45a8-874b-c3002722149f: <PicklableUpload at 7faac77bf518: xxx.pdf> } ], schema: { bf7052d6c7-471f-45a8-874b-c3002722149f: 'file' } }
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Fichier 0001-backoffice-handle-file-in-fields-block-in-listing-ex.patch 0001-backoffice-handle-file-in-fields-block-in-listing-ex.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Fix similaire à #62424
Attention, changement impactant dans wcs/qommon/ods.py, mais normalement maîtrisé
Mis à jour par Frédéric Péters il y a environ 2 ans
- Statut changé de Solution proposée à Solution validée
Oui ods.py j'aurais peut-être entouré d'un str() mais ack ainsi.
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 09bdef5a2638db743d7b06e9450a10bf9b178748 Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Mon Apr 11 11:46:25 2022 +0200 backoffice: handle file in fields block in listing exports (#63150)
Mis à jour par Transition automatique il y a environ 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
backoffice: handle file in fields block in listing exports (#63150)