Bug #50329
AttributeError: 'NoneType' object has no attribute 'get_geojson_url'
Début:
19 janvier 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/28162/
AttributeError: 'NoneType' object has no attribute 'get_geojson_url' (20 additional frame(s) were not displayed) ... File "wcs/formdef.py", line 603, in add_fields_to_form widget = field.add_to_form(form, value) File "wcs/fields.py", line 541, in add_to_form form.add(self.widget_class, 'f%s' % self.id, title=self.label, hint=hint, **kwargs) File "wcs/qommon/form.py", line 342, in add QuixoteForm.add(self, widget_class, name, *args, **kwargs) File "quixote/form/form.py", line 235, in add widget = widget_class(name, *args, **kwargs) File "wcs/qommon/form.py", line 2492, in __init__ self.geojson_markers_url = data_source.get_geojson_url()
Fichiers
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a environ 3 ans
- Fichier 0001-fields-fix-map-marker-widget-when-no-data_source-set.patch 0001-fields-fix-map-marker-widget-when-no-data_source-set.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Lauréline Guérin il y a environ 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit ee5c8246e764d7016b45517bdcf6d3be5aa2ee64 Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Fri Jan 22 11:48:26 2021 +0100 fields: fix map marker widget when no data_source set (#50329)
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
fields: fix map marker widget when no data_source set (#50329)