Bug #89831
production de geojson, champ fichier, (AttributeError: 'NoneType' object has no attribute 'has_redirect_url')
Début:
21 avril 2024
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/123983/
AttributeError: 'NoneType' object has no attribute 'has_redirect_url' (8 additional frame(s) were not displayed) ... File "wcs/backoffice/management.py", line 178, in _q_traverse return super()._q_traverse(path) File "quixote/directory.py", line 88, in _q_traverse return obj._q_traverse(path) File "quixote/directory.py", line 92, in _q_traverse return obj() File "wcs/backoffice/management.py", line 2854, in geojson return json.dumps(geojson_formdatas(items, fields=fields), cls=misc.JSONEncoder) File "wcs/backoffice/management.py", line 137, in geojson_formdatas if raw_value.has_redirect_url():
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a 13 jours
- Projet changé de Suivi des traces à w.c.s.
- Assigné à mis à Frédéric Péters
Mis à jour par Robot Gitea il y a 13 jours
- Statut changé de Nouveau à En cours
Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/1428
- Titre : WIP: api: check file fields when creating geojson (#89831)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/1428/files
Mis à jour par Robot Gitea il y a 12 jours
- Statut changé de Solution proposée à Solution validée
Lauréline Guérin (lguerin) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a 12 jours
- Statut changé de Solution validée à Résolu (à déployer)
Frédéric Péters (fpeters) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/1428
- Titre : api: check file fields when creating geojson (#89831)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/1428/files
Mis à jour par Transition automatique il y a 12 jours
- Statut changé de Résolu (à déployer) à Solution déployée
api: handle block fields in geojson (#89831)