Project

General

Profile

Bug #73756

maps: MapLayer mal configuré, geojson_url ne renvoie pas des features (TypeError: string indices must be integers)

Added by Sentry Io 8 days ago. Updated 4 days ago.

Status:
Solution proposée
Priority:
Normal
Target version:
-
Start date:
23 January 2023
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

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']

History

#1

Updated by Lauréline Guérin 8 days ago

  • Project changed from Suivi des traces to Combo
#3

Updated by Gitea (Bot) Gitea 4 days ago

  • Status changed from Nouveau to Solution proposée
  • Assignee set to Lauréline Guérin

Lauréline Guérin (lguerin) a ouvert une pull request sur Gitea concernant cette demande :

Also available in: Atom PDF