Bug #73756
maps: MapLayer mal configuré, geojson_url ne renvoie pas des features (TypeError: string indices must be integers)
Début:
23 janvier 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/96722/
TypeError: string indices must be integers (2 additional frame(s) were not displayed) ... File "django/core/handlers/base.py", line 113, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "django/views/generic/base.py", line 71, in view return self.dispatch(request, *args, **kwargs) File "django/views/generic/base.py", line 97, in dispatch return handler(request, *args, **kwargs) File "combo/apps/maps/views.py", line 33, in get geojson = layer.get_geojson(request, options.properties) File "combo/apps/maps/models.py", line 261, in get_geojson property_values = feature['properties']
Révisions associées
Historique
Mis à jour par Robot Gitea il y a environ un an
- 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://gitea.entrouvert.org/entrouvert/combo/pulls/35
- Titre : map: check geojson result (#73756)
- Modifications : https://gitea.entrouvert.org/entrouvert/combo/pulls/35/files
Mis à jour par Robot Gitea il y a environ un an
- 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 environ un an
- 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://gitea.entrouvert.org/entrouvert/combo/pulls/35
- Titre : map: check geojson result (#73756)
- Modifications : https://gitea.entrouvert.org/entrouvert/combo/pulls/35/files
Mis à jour par Transition automatique il y a environ un an
- Statut changé de Résolu (à déployer) à Solution déployée
map: check geojson result (#73756)