Bug #79457
valeur de type donnée calculée dans un champ de type string (AttributeError: 'dict' object has no attribute 'startswith')
Début:
06 juillet 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/112791/
AttributeError: 'dict' object has no attribute 'startswith' (13 additional frame(s) were not displayed) ... File "wcs/forms/backoffice.py", line 321, in tbody field_value = filled.get_field_view_value(f, max_length=30) File "wcs/formdata.py", line 927, in get_field_view_value return get_value(field, self.data) File "wcs/formdata.py", line 916, in get_value return field.get_view_short_value(field_value, max_length, **kwargs) File "wcs/fields.py", line 1077, in get_view_short_value return self.get_view_value(value) File "wcs/fields.py", line 1351, in get_view_value if value.startswith('http://') or value.startswith('https://'):
Révisions associées
Historique
Mis à jour par Robot Gitea il y a 10 mois
- Statut changé de Nouveau à Solution proposée
- Assigné à mis à Lauréline Guérin
Lauréline Guérin (lguerin) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/483
- Titre : fields: fix string field with bad value (#79457)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/483/files
Mis à jour par Robot Gitea il y a 10 mois
- Statut changé de Solution proposée à Solution validée
Frédéric Péters (fpeters) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a 10 mois
- Statut changé de Solution validée à Résolu (à déployer)
Lauréline Guérin (lguerin) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/483
- Titre : fields: fix string field with bad value (#79457)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/483/files
Mis à jour par Transition automatique il y a 10 mois
- Statut changé de Résolu (à déployer) à Solution déployée
fields: fix string field with bad value (#79457)